Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.10ms] Passed 4 tests
A check of server-side resources used by Custom Comment Links
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.76 ▼4.66 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.29 ▼2.65 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.69 ▼8.26 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 98.03 ▲3.17 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 44.21 ▲11.71 |
Custom Comment Links /wp-admin/options-general.php?page=custom_comment_links | 3.25 | 34.90 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Comment Links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.25 ▼0.10 | 1.86 ▼0.38 | 41.06 ▼1.55 |
Dashboard /wp-admin | 2,202 ▲28 | 5.57 ▼0.09 | 91.03 ▼1.17 | 41.40 ▼1.78 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▼0.00 | 45.83 ▲8.25 | 36.25 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.16 ▲0.20 | 649.17 ▼52.57 | 67.03 ▲8.87 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.24 ▲0.05 | 98.02 ▼2.75 | 45.55 ▼1.77 |
Custom Comment Links /wp-admin/options-general.php?page=custom_comment_links | 856 | 2.03 | 24.40 | 25.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/custom-comment-links/class-helpers.php
- > /wp-content/plugins/custom-comment-links/class-settings.php
- > /wp-content/plugins/custom-comment-links/custom-comment-links.php
- > /wp-content/plugins/custom-comment-links/class-admin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: comment seo, comments, custom comment links, author, hide comment links...
custom-comment-links/custom-comment-links.php Passed 13 tests
The main PHP file in "Custom Comment Links" ver. 0.2.1 adds more information about the plugin and also serves as the entry point for this plugin
52 characters long description:
Easily disable links for comment author and content.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected204 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 63 | 229 | 204 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 5.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 8 | 38.10% |
▷ Public methods | 15 | 71.43% |
▷ Protected methods | 1 | 4.76% |
▷ Private methods | 5 | 23.81% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected