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

moznion / p5-Compiler-Lexer / 11 / 2
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: fix/if_stmt_on_use_declaration
DEFAULT BRANCH: master
Ran 20 Feb 2015 05:50PM UTC
Files 3
Run time 5s
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

20 Feb 2015 05:43PM UTC coverage: 93.333%. Remained the same
11.2

push

travis-ci

moznion
Fix handling for format declaration

If `format` is used at non declaration context (for example: key of a hash),
it makes incapable of tokenizing action. It breaks structure of tokens.

I'll show an example code to reproduce;

```perl
my $foo = {
    format => 1,  # <= here's format is misrecognized as a FormatDecl
};

my $bar =  # <= code which is after assign operator will be broken
  "asdf";
1;
```

When tokenizing this code, result of it will be broken because `format`
which is a key of hash is misrecognized as a `FormatDecl`.
So I fixed it.

56 of 60 relevant lines covered (93.33%)

3621.43 hits per line

Source Files on job 11.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11
  • Travis Job 11.2
  • a8385cec on github
  • Prev Job for on fix/format_decl_handling (#9.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc