Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▲9.67ms] Passed 4 tests
A check of server-side resources used by REXADZ Monetization
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 60.07 ▲15.66 |
Dashboard /wp-admin | 3.32 ▲0.02 | 95.83 ▲34.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.44 ▼7.26 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 190.36 ▲80.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 53.04 ▼4.49 |
REXADZ Code /wp-admin/options-general.php?page=rcp | 3.25 | 42.27 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_rcp_options |
wp_rcp_data |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for REXADZ Monetization
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.46 ▲0.32 | 1.93 ▼0.24 | 138.80 ▲83.99 |
Dashboard /wp-admin | 2,197 ▲9 | 4.90 ▼0.13 | 174.40 ▲40.96 | 84.23 ▲27.98 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.03 | 45.23 ▼6.39 | 77.13 ▲33.43 |
Add New Post /wp-admin/post-new.php | 1,400 ▼119 | 17.83 ▼4.60 | 806.44 ▼31.31 | 84.64 ▲15.37 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.18 ▼0.07 | 130.27 ▼14.21 | 110.23 ▲27.69 |
REXADZ Code /wp-admin/options-general.php?page=rcp | 927 | 2.02 | 44.74 | 34.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 13× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/rexadz-monetization/inc/actions/add.php
- > /wp-content/plugins/rexadz-monetization/inc/error.php
- > /wp-content/plugins/rexadz-monetization/inc/classes/class-rcp-table.php
- > /wp-content/plugins/rexadz-monetization/inc/page.php
- > /wp-content/plugins/rexadz-monetization/inc/uninstall.php
- > /wp-content/plugins/rexadz-monetization/inc/actions/alignment.php
- > /wp-content/plugins/rexadz-monetization/rexadz-code-placement.php
- > /wp-content/plugins/rexadz-monetization/inc/install.php
- > /wp-content/plugins/rexadz-monetization/inc/classes/class-rcp-tables.php
- > /wp-content/plugins/rexadz-monetization/inc/functions.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
- Screenshots: Screenshot #1 (Backend Code Generation Page) image not found
rexadz-monetization/rexadz-code-placement.php 85% from 13 tests
"REXADZ Monetization" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("rexadz-monetization.php" instead of "rexadz-code-placement.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,070 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 238 | 463 | 1,070 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
Constants | 8 | |
▷ Global constants | 8 | 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
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/left.png | 1.08KB | 0.19KB | ▼ 82.81% |
img/center.png | 1.09KB | 0.20KB | ▼ 81.97% |
img/edit.png | 1.62KB | 1.02KB | ▼ 37.06% |
img/red.png | 0.45KB | 0.29KB | ▼ 34.86% |
img/none.png | 0.87KB | 0.91KB | 0.00% |