• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kostafey / ejc-sql / 34061523397
38%

Build:
DEFAULT BRANCH: master
Ran 06 Sep 2026 09:37PM UTC
Jobs 2
Files 11
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Sep 2026 09:35PM UTC coverage: 37.961% (-1.1%) from 39.1%
34061523397

push

github

kostafey
Show the ElDoc templates for CREATE and DROP

Add `CREATE' and `DROP' statements with their `TABLE', `VIEW', `INDEX'
and `SEQUENCE' clauses.

A word can be both a statement and a clause keyword now, e.g. `DROP' in
`DROP TABLE' and in `ALTER TABLE ... DROP COLUMN', so prefer the clause
when the statement keyword is not found yet: the statement is searched in
the words before the clause, and the first word of the statement is
always the statement keyword.

Search the clause in the statement around the point, not in the whole
batch: `ejc-sql-separator' is `/' by default, hence a file of the usual
`;' separated statements is a single batch, and the words of the previous
statements got into the lookup.  The statements are separated the same
way as on the Clojure side: by the `DELIMITER' command value when the
batch starts with this command, by `;' otherwise; the connection having
its own `:separator' evaluates the whole batch as a single statement.

Skip the words of the comments and the string literals: neither
`-- create the orders table' nor `where name = 'order by x'' are the SQL
keywords.  Note that `syntax-ppss' moves the point, so it can not be
called right in the words search loop.

0 of 44 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

391 of 1030 relevant lines covered (37.96%)

4.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
44
0.0
0.0% ejc-eldoc.el

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% ejc-eldoc.el
Jobs
ID Job ID Ran Files Coverage
1 emacs-30.2 - 34061523397.1 06 Sep 2026 09:37PM UTC 11
37.96
GitHub Action Run
2 emacs-snapshot - 34061523397.2 06 Sep 2026 09:37PM UTC 11
37.96
GitHub Action Run
Source Files on build 34061523397
  • Tree
  • List 11
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 77d0ab53 on github
  • Prev Build on master (#34060604230)
  • Next Build on master (#34062116018)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc