Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼145.05ms] Passed 4 tests
Server-side resources used by Plugin Last Updated Warning
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 35.45 ▲14.45 |
Dashboard /wp-admin | 3.08 ▲0.02 | 54.21 ▼2.68 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 37.66 ▼3.91 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 94.38 ▼573.20 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 34.50 ▼0.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Plugin Last Updated Warning: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.96 ▲0.69 | 9.05 ▼1.73 | 49.22 ▼4.06 |
Dashboard /wp-admin | 2,967 ▲36 | 5.92 ▼0.08 | 140.76 ▼30.02 | 118.98 ▼7.40 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▲0.01 | 68.40 ▼0.63 | 94.16 ▼2.40 |
Add New Post /wp-admin/post-new.php | 1,604 ▼79 | 18.61 ▼0.14 | 398.01 ▼6.85 | 115.64 ▲6.40 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.02 ▲0.04 | 155.80 ▼6.59 | 123.50 ▼4.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function MilesToGo\\add_action() in wp-content/plugins/plugin-last-updated-warning/plugin-last-updated-warning.php:117
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
plugin-last-updated-warning/plugin-last-updated-warning.php Passed 13 tests
Analyzing the main PHP file in "Plugin Last Updated Warning" version 0.9.1
117 characters long description:
This plugin will display a warning for plugins that haven't received updates on the WP.org plugin repo the past year.
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
Everything looks great! No dangerous files found in this plugin100 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 35 | 64 |
PO File | 1 | 5 | 5 | 36 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 1 | 25.00% |
▷ Public methods | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected