Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.64MB] [CPU: ▼29.36ms] Passed 4 tests
Server-side resources used by Comments List Building for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.61 ▲0.73 |
Dashboard /wp-admin | 3.30 ▼0.04 | 33.00 ▼27.43 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 41.07 ▼8.13 |
Add New Post /wp-admin/post-new.php | 3.26 ▼2.63 | 33.93 ▼74.85 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 29.27 ▼7.04 |
Comment ListBuilder /wp-admin/options-general.php?page=listbuilding | 3.28 | 29.16 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Optionswplistbuilder |
Browser metrics Passed 4 tests
A check of browser resources used by Comments List Building for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 13.25 ▼1.15 | 1.53 ▼0.25 | 39.59 ▼3.84 |
Dashboard /wp-admin | 2,218 ▲33 | 4.89 ▼0.96 | 106.75 ▲5.85 | 40.23 ▼2.02 |
Posts /wp-admin/edit.php | 2,600 ▲511 | 2.06 ▲0.06 | 37.03 ▲1.95 | 31.65 ▼5.52 |
Add New Post /wp-admin/post-new.php | 6,547 ▲5,027 | 20.04 ▼3.11 | 905.06 ▲211.46 | 66.95 ▲10.47 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.25 ▲0.05 | 99.70 ▲1.88 | 44.06 ▲1.91 |
Comment ListBuilder /wp-admin/options-general.php?page=listbuilding | 1,684 | 6.63 | 126.46 | 60.36 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- Optionswplistbuilder
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+1679
Trying to get property 'ID' of non-object
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+617
Undefined index: clb_pt_post
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+658
Undefined index: clb_pr_post
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+617
Undefined index: clb_pt_page
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+658
Undefined index: clb_pr_page
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+617
Undefined index: clb_pt_attachment
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+658
Undefined index: clb_pr_attachment
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+811
Undefined index: klicktippCheckboxText
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+814
Undefined index: listbuilder_privacy_url
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/view/admin-settings.phtml+29
Undefined index: listbuilder-plugin-active
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+812
Undefined index: klicktippCheckboxChecked
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+813
Undefined index: klicktippAddSubscriberWithoutRelease
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+805
Undefined variable: post_id
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+808
Undefined index: klicktippAdditionalText
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+809
Undefined index: autoresponderCode
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+810
Undefined index: autoresponderHidden
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+815
Undefined index: klicktippOptInID
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+816
Undefined index: klicktippOptInName
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+817
Undefined index: klicktippTag
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+818
Undefined index: klicktippTagID
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+819
Undefined index: autoresponderUrl
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+820
Undefined index: autoresponderName
- > GET request to /wp-admin/options-general.php?page=listbuilding
- > Notice in wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php+821
Undefined index: autoresponderEmail
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/comments-list-building/inc/klick-tipp-listbuilding.class.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: There are too many tags (72 tag instead of maximum 10)
comments-list-building/comments-list-building.php 92% from 13 tests
The main file in "Comments List Building for WordPress" v. 4.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,873 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 1,444 | 388 | 2,342 |
JavaScript | 3 | 26 | 0 | 242 |
PO File | 1 | 78 | 88 | 238 |
CSS | 2 | 3 | 3 | 51 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 124.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 256.00 |
Average method complexity | 5.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 58 | 71.60% |
▷ Protected methods | 2 | 2.47% |
▷ Private methods | 21 | 25.93% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected