Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/oxygendigital-token/oxygendigital-token.php+51
Non-static method Oxygendigital_Token_Activator::odmt_activate_system_CURL() should not be called statically
Server metrics [RAM: ▲0.07MB] [CPU: ▲183.49ms] Passed 4 tests
An overview of server-side resources used by OxygenDigital Token
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 297.83 ▲257.06 |
Dashboard /wp-admin | 3.42 ▲0.07 | 297.98 ▲231.74 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 312.26 ▲259.58 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 339.13 ▲240.21 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.04 ▲4.94 |
OD Web Hook Menu /wp-admin/options-general.php?page=od_webhook | 3.22 | 283.24 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by OxygenDigital Token
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲134 | 13.83 ▼0.53 | 8.57 ▲6.90 | 43.62 ▲2.87 |
Dashboard /wp-admin | 2,203 ▲23 | 5.66 ▼0.01 | 90.91 ▲3.69 | 40.09 ▼2.79 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 1.94 ▼0.10 | 37.55 ▲0.22 | 37.29 ▲4.00 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 17.93 ▼5.68 | 651.86 ▼19.52 | 61.12 ▲1.19 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.19 ▲0.01 | 102.02 ▲0.25 | 43.19 ▼5.25 |
OD Web Hook Menu /wp-admin/options-general.php?page=od_webhook | 902 | 1.99 | 23.09 | 28.40 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=od_webhook
- > Deprecated in wp-content/plugins/oxygendigital-token/oxygendigital-token.php+160
Non-static method Oxygendigital_odmt_Fields::odmt_webhook_render_settings_page_button() should not be called statically
- > GET request to /wp-admin/options-general.php?page=od_webhook
- > Deprecated in wp-content/plugins/oxygendigital-token/oxygendigital-token.php+257
Non-static method Oxygendigital_odmt_Fields::odmt_get_field_Frequency() should not be called statically
- > GET request to /wp-admin/options-general.php?page=od_webhook
- > Notice in wp-content/plugins/oxygendigital-token/includes/class-oxygendigital-token-fields.php+49
Undefined variable: crontime
- > GET request to /wp-admin/options-general.php?page=od_webhook
- > Deprecated in wp-content/plugins/oxygendigital-token/oxygendigital-token.php+268
Non-static method Oxygendigital_odmt_Fields::odmt_set_apikey_field() should not be called statically
- > GET request to /wp-admin/options-general.php?page=od_webhook
- > Deprecated in wp-content/plugins/oxygendigital-token/oxygendigital-token.php+279
Non-static method Oxygendigital_odmt_Fields::odmt_set_name_field() should not be called statically
- > GET request to /wp-admin/options-general.php?page=od_webhook
- > Deprecated in wp-content/plugins/oxygendigital-token/oxygendigital-token.php+289
Non-static method Oxygendigital_odmt_Fields::odmt_set_heartbeat_respons_echo() should not be called statically
- > GET request to /wp-admin/options-general.php?page=od_webhook
- > Deprecated in wp-content/plugins/oxygendigital-token/oxygendigital-token.php+120
Non-static method Oxygendigital_odmt_Fields::odmt_get_apikeystatus() should not be called statically
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
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/oxygendigital-token/public/partials/oxygendigital-token-public-display.php
- > /wp-content/plugins/oxygendigital-token/admin/partials/oxygendigital-token-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== oxygendigital-token ===
) - Screenshots: These screenshots do not have images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Screenshots are stored in the /assets directory.), #2 (This is the second screen shot)
oxygendigital-token/oxygendigital-token.php Passed 13 tests
"OxygenDigital Token" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
58 characters long description:
This is for web monitoring purposes only for free version.
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 plugin421 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 174 | 632 | 415 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 39.87KB | 15.73KB | ▼ 60.54% |