Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.88ms] Passed 4 tests
This is a short check of server-side resources used by Cleaner Plugin Installer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.48 ▼1.24 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.97 ▼1.42 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.51 ▼4.81 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.71 ▼20.05 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.54 ▲2.71 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cleaner Plugin Installer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 14.80 ▲0.50 | 2.08 ▲0.27 | 43.39 ▼1.15 |
Dashboard /wp-admin | 2,219 ▲34 | 4.85 ▼0.06 | 114.21 ▼1.88 | 43.31 ▼1.26 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▼0.01 | 37.63 ▼1.13 | 33.20 ▼2.52 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.27 ▲5.82 | 655.29 ▼10.81 | 66.72 ▲13.48 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.27 ▲0.03 | 96.24 ▼3.42 | 39.70 ▼4.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 9× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cleaner-plugin-installer/cleaner-plugin-installer.php
- > /wp-content/plugins/cleaner-plugin-installer/includes/cpi-functions-dashboard.php
- > /wp-content/plugins/cleaner-plugin-installer/includes/cpi-admin-extras.php
- > /wp-content/plugins/cleaner-plugin-installer/includes/cpi-plugin-uploader.php
- > /wp-content/plugins/cleaner-plugin-installer/includes/cpi-functions.php
- > /wp-content/plugins/cleaner-plugin-installer/includes/cpi-functions-tab-topics.php
- > /wp-content/plugins/cleaner-plugin-installer/includes/cpi-functions-screen-options.php
- > /wp-content/plugins/cleaner-plugin-installer/includes/cpi-plugin-installer.php
- > /wp-content/plugins/cleaner-plugin-installer/includes/cpi-functions-de.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: deckerweb, efficient, cleaner, plugins, installer...
cleaner-plugin-installer/cleaner-plugin-installer.php 92% from 13 tests
"Cleaner Plugin Installer" version 1.4.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)
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
Good job! No executable or dangerous file extensions detected3,247 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 627 | 1,041 | 1,845 |
PO File | 2 | 260 | 278 | 707 |
CSS | 4 | 220 | 80 | 667 |
JavaScript | 4 | 6 | 35 | 28 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 74 | |
▷ Named functions | 74 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin