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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.99ms] Passed 4 tests
An overview of server-side resources used by DigiTimber cPanel Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.32 ▼0.32 |
Dashboard /wp-admin | 3.32 ▼0.03 | 52.32 ▼10.92 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.69 ▼2.45 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.74 ▼7.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.87 ▼2.62 |
cPanel Integration /wp-admin/admin.php?page=dt-top-level-handle | 3.18 | 32.63 |
Email Administration /wp-admin/admin.php?page=dt-cpanel-email | 3.18 | 31.74 |
cPanel Settings /wp-admin/options-general.php?page=dt-cpanel-settings-page | 3.18 | 31.40 |
Settings /wp-admin/admin.php?page=dt-cpanel-settings-page | 3.18 | 33.96 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
dt_cpanel_key |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DigiTimber cPanel Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲104 | 14.67 ▼0.08 | 1.99 ▲0.10 | 40.82 ▼3.60 |
Dashboard /wp-admin | 2,253 ▲47 | 5.84 ▲0.98 | 102.04 ▼2.11 | 39.49 ▼4.04 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.98 ▼0.05 | 40.19 ▲1.38 | 35.09 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,573 ▲28 | 23.36 ▲0.31 | 612.20 ▼35.11 | 56.69 ▼3.26 |
Media Library /wp-admin/upload.php | 1,438 ▲41 | 4.37 ▲0.25 | 96.70 ▼6.28 | 47.20 ▲0.10 |
cPanel Integration /wp-admin/admin.php?page=dt-top-level-handle | 817 | 2.03 | 24.14 | 25.69 |
Email Administration /wp-admin/admin.php?page=dt-cpanel-email | 808 | 2.06 | 24.61 | 26.09 |
cPanel Settings /wp-admin/options-general.php?page=dt-cpanel-settings-page | 835 | 2.03 | 25.54 | 27.98 |
Settings /wp-admin/admin.php?page=dt-cpanel-settings-page | 835 | 2.06 | 24.73 | 25.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dt-cpanel-settings-page
- > Notice in wp-content/plugins/digitimber-cpanel-integration/digitimber-cpanel.php+488
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=dt-cpanel-email
- > Warning in wp-content/plugins/digitimber-cpanel-integration/digitimber-cpanel.php+392
sizeof(): Parameter must be an array or an object that implements Countable
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dt-cpanel-settings-page
- > Notice in wp-content/plugins/digitimber-cpanel-integration/digitimber-cpanel.php+516
Undefined variable: cpun_value
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dt-cpanel-settings-page
- > Notice in wp-content/plugins/digitimber-cpanel-integration/digitimber-cpanel.php+517
Undefined variable: cppw_value
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digitimber-cpanel-integration/digitimber-cpanel.php:21
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: manage, email, cpanel, mail
digitimber-cpanel-integration/digitimber-cpanel.php 85% from 13 tests
The main file in "DigiTimber cPanel Integration" v. 1.4.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("digitimber-cpanel-integration.php" instead of "digitimber-cpanel.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 191 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
Everything looks great! No dangerous files found in this plugin442 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 73 | 103 | 442 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 66.67% |
▷ Protected methods | 2 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin