Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set max line length to 160 (eventual target 120). #366

Closed
wants to merge 3 commits into from
Closed

Set max line length to 160 (eventual target 120). #366

wants to merge 3 commits into from

Conversation

ham1
Copy link
Contributor

@ham1 ham1 commented Dec 23, 2017

Description

Added new checkstyle rule for max line length of 160; with the view to, eventually, make it around 120. I will create another PR with the rest of the changes from #358 once this is merged as it should make merging slightly easier.

Hopefully reducing the scope and splitting this into commits that each change a separate thing will help merging - let me know if it's too much and I could split further if required.

Motivation and Context

This PR will prevent any extra long lines and extra long anonymous inner classes being accidentally added.

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.

@codecov-io
Copy link

codecov-io commented Dec 23, 2017

Codecov Report

Merging #366 into trunk will increase coverage by <.01%.
The diff coverage is 47.08%.

Impacted file tree graph

@@             Coverage Diff              @@
##              trunk     #366      +/-   ##
============================================
+ Coverage     58.37%   58.38%   +<.01%     
+ Complexity    10316    10315       -1     
============================================
  Files          1170     1170              
  Lines         74347    74437      +90     
  Branches       7324     7331       +7     
============================================
+ Hits          43399    43458      +59     
- Misses        28421    28453      +32     
+ Partials       2527     2526       -1
Impacted Files Coverage Δ Complexity Δ
.../backend/graphite/PickleGraphiteMetricsSender.java 0% <ø> (ø) 0 <0> (ø) ⬇️
.../org/apache/jmeter/report/core/SampleMetadata.java 26.08% <ø> (ø) 8 <0> (ø) ⬇️
...jmeter/protocol/http/util/accesslog/LogFilter.java 81.3% <ø> (ø) 35 <0> (ø) ⬇️
...er/protocol/http/proxy/AbstractSamplerCreator.java 59.37% <ø> (ø) 6 <0> (ø) ⬇️
...rotocol/smtp/sampler/protocol/SendMailCommand.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...rg/apache/jmeter/util/keystore/JmeterKeyStore.java 19.54% <ø> (ø) 4 <0> (ø) ⬇️
...apache/jmeter/control/gui/ModuleControllerGui.java 31.25% <ø> (ø) 8 <0> (ø) ⬇️
...ts/org/apache/jmeter/visualizers/RenderAsJSON.java 60% <ø> (ø) 12 <0> (ø) ⬇️
...g/apache/jmeter/samplers/AbstractSampleSender.java 80% <ø> (ø) 2 <0> (ø) ⬇️
...protocol/http/sampler/LazySchemeSocketFactory.java 66.66% <ø> (ø) 5 <0> (ø) ⬇️
... and 33 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33f09a9...688ce70. Read the comment docs.

@asfgit asfgit closed this in ed15c5b Feb 12, 2018
@ham1 ham1 deleted the max_line_length branch February 12, 2018 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants