Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.33ms] Passed 4 tests
This is a short check of server-side resources used by WP Reporter
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.82 ▼2.73 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.21 ▼5.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 53.90 ▲3.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.45 ▲3.54 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.48 ▼4.32 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Reporter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲70 | 13.71 ▼0.69 | 2.03 ▼0.26 | 39.28 ▼4.73 |
Dashboard /wp-admin | 2,222 ▲34 | 5.90 ▲0.04 | 105.89 ▼1.82 | 42.83 ▲0.46 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.02 ▲0.03 | 40.83 ▲4.56 | 35.10 ▲0.88 |
Add New Post /wp-admin/post-new.php | 1,560 ▲25 | 18.72 ▼4.36 | 629.95 ▼61.93 | 52.69 ▲1.62 |
Media Library /wp-admin/upload.php | 1,398 ▲13 | 4.21 ▼0.01 | 100.87 ▼0.29 | 44.62 ▼2.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-reporter/includes/pages.php
- > /wp-content/plugins/wp-reporter/includes/tags.php
- > /wp-content/plugins/wp-reporter/includes/users.php
- > /wp-content/plugins/wp-reporter/includes/comments.php
- > /wp-content/plugins/wp-reporter/includes/posts.php
- > /wp-content/plugins/wp-reporter/includes/categories.php
- 63× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: comments_count in wp-content/plugins/wp-reporter/includes/comments.php on line 15
- > PHP Notice
Trying to get property 'future' of non-object in wp-content/plugins/wp-reporter/includes/pages.php on line 18
- > PHP Notice
Undefined variable: total_posts in wp-content/plugins/wp-reporter/includes/posts.php on line 1
- > PHP Notice
Undefined variable: comments_count in wp-content/plugins/wp-reporter/includes/comments.php on line 1
- > PHP Notice
Trying to get property 'future' of non-object in wp-content/plugins/wp-reporter/includes/posts.php on line 18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-reporter/includes/users.php on line 14
- > PHP Notice
Undefined variable: count_posts in wp-content/plugins/wp-reporter/includes/posts.php on line 22
- > PHP Notice
Undefined variable: total_pages in wp-content/plugins/wp-reporter/includes/pages.php on line 1
- > PHP Notice
Undefined variable: comments_count in wp-content/plugins/wp-reporter/includes/comments.php on line 18
- > PHP Notice
Trying to get property 'auto-draft' of non-object in wp-content/plugins/wp-reporter/includes/posts.php on line 23
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: counter, posts count, reporter
wp-reporter/wp-reporter.php Passed 13 tests
The main PHP file in "WP Reporter" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
83 characters long description:
Counts and reports WordPress resources - Posts, Pages, Comments, Users, Categories.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin198 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 19 | 36 | 198 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin