Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.70ms] Passed 4 tests
An overview of server-side resources used by Dezo Tools
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 44.50 ▲0.85 |
Dashboard /wp-admin | 3.43 ▲0.12 | 52.67 ▼2.48 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.05 ▼10.26 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 89.41 ▼10.89 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 40.31 ▲7.52 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 13 new options
New WordPress options |
---|
can_compress_scripts |
dezo-custom-header |
db_upgraded |
dezo-disable-emojis |
widget_recent-comments |
dezo-hide-wp-header-details |
theysaidso_admin_options |
dezo-enable-html-minify |
widget_theysaidso_widget |
dezo-custom-footer |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dezo Tools
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲87 | 13.28 ▼1.08 | 1.74 ▲0.01 | 43.40 ▼3.02 |
Dashboard /wp-admin | 2,254 ▲48 | 4.91 ▼0.14 | 111.70 ▲1.33 | 43.42 ▼3.10 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.04 ▲0.00 | 40.84 ▲2.14 | 34.56 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,538 ▼2 | 17.63 ▼0.64 | 708.74 ▲60.51 | 66.93 ▲5.86 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.25 ▲0.01 | 102.84 ▼7.98 | 44.96 ▼0.79 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 13 options in the database
- widget_theysaidso_widget
- db_upgraded
- dezo-ganalytics-id
- dezo-enable-lightbox
- dezo-disable-emojis
- dezo-hide-wp-header-details
- widget_recent-posts
- dezo-enable-html-minify
- can_compress_scripts
- dezo-custom-header
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/dezo-tools/includes/admin/templates/main.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: all-in-one, tools
dezo-tools/dezo-tools.php 92% from 13 tests
The entry point to "Dezo Tools" version 0.2.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,574 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 42 | 28 | 516 |
PHP | 7 | 117 | 163 | 460 |
Sass | 1 | 27 | 1 | 268 |
CSS | 4 | 5 | 32 | 263 |
LESS | 2 | 13 | 14 | 31 |
Markdown | 1 | 13 | 0 | 26 |
CoffeeScript | 1 | 2 | 2 | 6 |
SVG | 1 | 0 | 0 | 4 |
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.15 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 4 | 8.70% |
▷ Public methods | 39 | 84.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 15.22% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin