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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼14.48ms] Passed 4 tests
Server-side resources used by Unlimited
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.01 | 30.79 ▼13.68 |
Dashboard /wp-admin | 3.60 ▼0.03 | 51.52 ▼12.26 |
Posts /wp-admin/edit.php | 3.71 ▲0.03 | 49.65 ▼6.23 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.03 | 89.51 ▼25.73 |
Media Library /wp-admin/upload.php | 3.52 ▲0.03 | 39.80 ▼2.98 |
Unlimited /wp-admin/options-general.php?page=unlimited | 3.54 | 35.27 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Unlimited
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.37 ▼0.95 | 8.38 ▲6.33 | 43.46 ▲1.58 |
Dashboard /wp-admin | 2,199 ▲22 | 5.68 ▼0.01 | 85.54 ▼6.60 | 39.41 ▼2.22 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.16 | 35.61 ▼1.91 | 37.75 ▲5.39 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 17.76 ▼5.27 | 648.33 ▼44.28 | 53.37 ▼6.15 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.25 ▲0.01 | 101.09 ▼6.48 | 42.30 ▼2.71 |
Unlimited /wp-admin/options-general.php?page=unlimited | 1,235 | 2.13 | 29.21 | 34.53 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/unlimited/templates/templates.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited/unlimited.php:19
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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:
- Tags: Too many tags (25 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add a description for screenshot #2 in unlimited/assets to your readme.txt
unlimited/unlimited.php 85% from 13 tests
"Unlimited" version 0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,003 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 50 | 1 | 403 |
PHP | 2 | 32 | 18 | 329 |
CSS | 2 | 39 | 4 | 157 |
PO File | 1 | 49 | 50 | 114 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin