Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/doolox-node/phpseclib/Crypt/RSA.php+247
Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_RSA has a deprecated constructor
Server metrics [RAM: ▼1.17MB] [CPU: ▼205.46ms] Passed 4 tests
An overview of server-side resources used by Doolox Node
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.46 ▼0.38 | 9.15 ▼31.40 |
Dashboard /wp-admin | 2.48 ▼0.58 | 8.50 ▼50.77 |
Posts /wp-admin/edit.php | 2.48 ▼0.63 | 8.38 ▼51.27 |
Add New Post /wp-admin/post-new.php | 2.48 ▼2.96 | 7.68 ▼686.59 |
Media Library /wp-admin/upload.php | 2.48 ▼0.53 | 8.37 ▼33.19 |
Doolox /wp-admin/options-general.php?page=doolox-settings | 2.48 | 8.78 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Doolox Node
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,721 ▲149 | 15.80 ▲0.15 | 10.05 ▲0.22 | 53.89 ▼6.86 |
Dashboard /wp-admin | 2,988 ▲54 | 5.96 ▼0.02 | 163.57 ▼3.74 | 121.69 ▲0.41 |
Posts /wp-admin/edit.php | 2,757 ▲18 | 2.85 ▲0.13 | 78.86 ▲0.20 | 101.32 ▲4.09 |
Add New Post /wp-admin/post-new.php | 1,626 ▼57 | 21.42 ▲5.20 | 344.19 ▼105.05 | 121.55 ▼0.06 |
Media Library /wp-admin/upload.php | 1,766 ▼41 | 4.99 ▼0.05 | 181.86 ▼2.49 | 127.70 ▼0.24 |
Doolox /wp-admin/options-general.php?page=doolox-settings | 1,064 | 2.24 | 71.73 | 81.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/doolox-node/phpseclib/Crypt/RSA.php+247
Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_RSA has a deprecated constructor
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=doolox-settings
- > Deprecated in wp-content/plugins/doolox-node/phpseclib/Crypt/RSA.php+247
Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_RSA has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=doolox-settings
- > Deprecated in wp-content/plugins/doolox-node/phpseclib/Crypt/Hash.php+83
Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Hash has a deprecated constructor
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/doolox-node/doolox.php:168
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: wordpress manager, doolox, wordpress, remote login
doolox-node/doolox.php 85% from 13 tests
The main file in "Doolox Node" v. 1.2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("doolox-node.php" instead of "doolox.php")
- Description: Keep the plugin description shorter than 140 characters (currently 259 characters long)
Code Analysis 97% from 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 plugin16,988 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 2,936 | 10,919 | 16,965 |
Markdown | 1 | 9 | 0 | 23 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 168)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 132.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 533.00 |
Average method complexity | 6.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 168.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 479 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 479 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 221 | |
▷ Global constants | 221 | 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
No PNG images were found in this plugin