Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.64MB] [CPU: ▼23.07ms] Passed 4 tests
Server-side resources used by DBS-NeatlyGone
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 42.66 ▲2.46 |
Dashboard /wp-admin | 3.36 ▲0.01 | 44.50 ▼16.34 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 44.50 ▼3.03 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 34.23 ▼73.93 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.27 ▲1.04 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
NeatlyGoneWhatToHide |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
DBS-NeatlyGone: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.22 ▼1.13 | 1.71 ▼0.18 | 40.28 ▼3.69 |
Dashboard /wp-admin | 2,203 ▲12 | 5.82 ▲0.95 | 99.01 ▼14.83 | 39.36 ▼7.02 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.03 | 36.54 ▲2.45 | 34.22 ▼0.33 |
Add New Post /wp-admin/post-new.php | 6,256 ▲4,727 | 21.84 ▲3.11 | 826.76 ▲212.12 | 66.51 ▲15.44 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.17 ▼0.20 | 94.95 ▼1.45 | 40.84 ▼1.30 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- NeatlyGoneWhatToHide
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dbs-neatlygone/lib/DBS-Funcy.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (All that you see!)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== dbs-neatlygone ===
)
dbs-neatlygone/DBS-NeatlyGone.php 92% from 13 tests
The main PHP script in "DBS-NeatlyGone" version 1.0.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dbs-neatlygone.php" instead of "DBS-NeatlyGone.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin342 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 66 | 21 | 299 |
PO File | 2 | 5 | 5 | 43 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin