Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/dpt-dnsmanager/dpt-dnsmanager.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; dpt_dnsmanager_php has a deprecated constructor
Server metrics [RAM: ▼1.81MB] [CPU: ▼52.40ms] Passed 4 tests
Server-side resources used by Wordpress DNS Manager by DigitialPixies
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.28 | 5.25 ▼35.93 |
Dashboard /wp-admin | 2.20 ▼1.11 | 7.40 ▼41.28 |
Posts /wp-admin/edit.php | 2.20 ▼1.16 | 5.75 ▼45.64 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.69 | 5.88 ▼86.75 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 6.04 ▼29.91 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Wordpress DNS Manager by DigitialPixies
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.28 ▼1.10 | 1.92 ▼0.07 | 43.14 ▼4.28 |
Dashboard /wp-admin | 2,225 ▲43 | 5.85 ▼0.01 | 100.49 ▼6.87 | 38.80 ▼5.04 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 1.99 ▲0.00 | 39.55 ▲0.12 | 35.51 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,546 ▲32 | 23.44 ▲5.98 | 633.00 ▼59.54 | 54.94 ▼22.65 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.19 ▼0.01 | 96.94 ▼2.70 | 42.57 ▼4.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/dpt-dnsmanager/dpt-dnsmanager.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; dpt_dnsmanager_php has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dpt-dnsmanager/dpt-dnsmanager.php:55
- > 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 issues were found
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 to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== dpt-dnsmanager ===
)
dpt-dnsmanager/dpt-dnsmanager.php Passed 13 tests
The entry point to "Wordpress DNS Manager by DigitialPixies" version 1.2.1 is a PHP file that has certain tags in its header comment area
108 characters long description:
Create and Manage a bind compatible dns file. Designed for intranet wordpress instances (not public facing).
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
Everything looks great! No dangerous files found in this plugin10,179 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 2 | 13 | 7,142 |
JavaScript | 4 | 611 | 468 | 1,898 |
PHP | 2 | 16 | 47 | 548 |
HTML | 1 | 12 | 7 | 296 |
SVG | 1 | 0 | 0 | 288 |
LESS | 2 | 1 | 0 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 45.50 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 24 | 85.71% |
▷ Protected methods | 1 | 3.57% |
▷ Private methods | 3 | 10.71% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin