Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼296.00ms] Passed 4 tests
An overview of server-side resources used by Exodox
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 61.01 ▲11.01 |
Dashboard /wp-admin | 3.41 ▲0.00 | 32.60 ▼0.31 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 37.57 ▲1.64 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 93.94 ▼1,184.11 |
Media Library /wp-admin/upload.php | 3.29 ▲0.00 | 22.89 ▼1.21 |
Exodox /wp-admin/options-general.php?page=exodox | 3.10 | 17.57 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Exodox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,785 ▲31 | 16.15 ▲0.36 | 5.98 ▼0.38 | 2.55 ▼0.81 |
Dashboard /wp-admin | 2,892 ▲38 | 6.06 ▼0.08 | 113.74 ▼21.22 | 153.14 ▼6.10 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.25 ▲0.01 | 60.26 ▼4.08 | 140.12 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 16.54 ▲0.67 | 419.79 ▼17.00 | 155.49 ▼4.61 |
Media Library /wp-admin/upload.php | 1,695 ▼6 | 5.53 ▼0.00 | 144.06 ▲7.13 | 185.24 ▲0.79 |
Exodox /wp-admin/options-general.php?page=exodox | 28 | 0.94 | 0.03 | 16.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/exodox/exodox.php:73
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=exodox
- > Network (severe)
wp-admin/options-general.php?page=exodox - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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:
- Donate link: Invalid URI ("")
- Tags: There are too many tags (12 tag instead of maximum 10)
exodox/exodox.php Passed 13 tests
Analyzing the main PHP file in "Exodox" version 0.8.3
27 characters long description:
Exodox content lock plugin.
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
Everything looks great! No dangerous files found in this plugin1,383 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 211 | 472 | 1,044 |
CSS | 1 | 31 | 1 | 164 |
PO File | 1 | 33 | 37 | 101 |
SVG | 3 | 0 | 2 | 74 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 139.00 |
▷ Minimum class complexity | 139.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 65 | |
▷ Static methods | 65 | 100.00% |
▷ Public methods | 46 | 70.77% |
▷ Protected methods | 2 | 3.08% |
▷ Private methods | 17 | 26.15% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 22 | |
▷ Global constants | 9 | 40.91% |
▷ Class constants | 13 | 59.09% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin