Benchmarks
Plugin footprint 83% from 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.27MB] [CPU: ▼4.69ms] Passed 4 tests
A check of server-side resources used by Exxp
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 41.12 ▼2.99 |
Dashboard /wp-admin | 3.62 ▲0.31 | 46.06 ▼10.10 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 50.50 ▲3.72 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 87.90 ▼9.35 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.83 ▲3.68 |
Exxp /wp-admin/options-general.php?page=exxp_wp | 3.54 | 31.83 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Exxp
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲199 | 13.51 ▼0.92 | 8.24 ▲6.34 | 38.71 ▼4.95 |
Dashboard /wp-admin | 2,214 ▲26 | 5.88 ▼0.03 | 108.90 ▼7.67 | 41.59 ▼2.68 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.01 ▼0.04 | 39.58 ▲2.95 | 35.68 ▲2.03 |
Add New Post /wp-admin/post-new.php | 6,222 ▲4,703 | 26.01 ▲2.73 | 894.15 ▲271.56 | 58.83 ▲9.02 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.17 ▲0.00 | 94.57 ▼2.41 | 43.97 ▼2.32 |
Exxp /wp-admin/options-general.php?page=exxp_wp | 719 | 1.53 | 6.54 | 22.31 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=exxp_wp
- > Notice in wp-content/plugins/exxp-wp/admin/partials/exxp_wp-admin-display.php+25
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=exxp_wp
- > Notice in wp-content/plugins/exxp-wp/admin/partials/exxp_wp-admin-display.php+103
Undefined index: posting-key-display
SRP 0% 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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/exxp-wp/public/partials/exxp_wp-public-display.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/exxp-wp/admin/partials/exxp_wp-admin-display.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/exxp-wp/admin/partials/exxp_wp-user-display.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: blockchain, wordpress, monetization, hive
exxp-wp/exxp_wp.php 77% from 13 tests
The main PHP file in "Exxp" ver. 2.6.10 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("exxp-wp.php" instead of "exxp_wp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,414 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 492 | 676 | 1,349 |
CSS | 1 | 4 | 0 | 30 |
Markdown | 1 | 7 | 0 | 28 |
JavaScript | 3 | 5 | 34 | 7 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 30.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 238.00 |
Average method complexity | 5.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 2 | 20.00% |
Methods | 70 | |
▷ Static methods | 7 | 10.00% |
▷ Public methods | 62 | 88.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 11.43% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There are no PNG files in this plugin