Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.88MB] [CPU: ▼173.08ms] Passed 4 tests
A check of server-side resources used by Add Categories Post Footer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 33.13 ▼6.83 |
Dashboard /wp-admin | 2.77 ▼0.29 | 26.96 ▼19.48 |
Posts /wp-admin/edit.php | 2.77 ▼0.34 | 24.95 ▼24.76 |
Add New Post /wp-admin/post-new.php | 2.77 ▼2.67 | 22.11 ▼635.83 |
Media Library /wp-admin/upload.php | 2.77 ▼0.23 | 22.94 ▼12.24 |
Categories Post Footer /wp-admin/options-general.php?page=add-categories-post-footer/add_categories_post_footer.php | 2.77 | 20.56 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
add_cat_post_footer_opts |
Browser metrics Passed 4 tests
An overview of browser requirements for Add Categories Post Footer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲114 | 15.78 ▲0.17 | 8.59 ▼2.70 | 49.31 ▼4.21 |
Dashboard /wp-admin | 2,977 ▲43 | 5.89 ▼0.18 | 156.44 ▼0.07 | 118.17 ▲4.50 |
Posts /wp-admin/edit.php | 2,743 ▲4 | 2.68 ▼0.01 | 70.32 ▲2.11 | 95.93 ▼4.59 |
Add New Post /wp-admin/post-new.php | 1,609 ▼74 | 19.01 ▲0.20 | 396.85 ▲0.72 | 110.01 ▼9.11 |
Media Library /wp-admin/upload.php | 1,814 ▲7 | 5.02 ▲0.00 | 168.63 ▲9.18 | 126.92 ▼0.74 |
Categories Post Footer /wp-admin/options-general.php?page=add-categories-post-footer/add_categories_post_footer.php | 1,069 | 2.08 | 63.24 | 67.47 |
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
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=add-categories-post-footer/add_categories_post_footer.php
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/add-categories-post-footer/add_categories_post_footer.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: post footer, related post, tags, advertisment
add-categories-post-footer/add_categories_post_footer.php 92% from 13 tests
The main PHP script in "Add Categories Post Footer" version 2.2.2 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("add-categories-post-footer.php" instead of "add_categories_post_footer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin229 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 25 | 210 |
CSS | 1 | 0 | 1 | 19 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin