Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.09MB] [CPU: ▼11.67ms] Passed 4 tests
Server-side resources used by BotRx DeTx Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.48 ▼0.98 | 7.98 ▼33.09 |
Dashboard /wp-admin | 3.52 ▲0.17 | 53.41 ▼18.99 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 49.67 ▲1.54 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 102.88 ▲4.83 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 41.65 ▲3.85 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_botrx_stats |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
botrx_version |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for BotRx DeTx Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.63 ▼0.68 | 1.86 ▲0.03 | 43.20 ▼5.88 |
Dashboard /wp-admin | 2,206 ▲18 | 5.79 ▼0.11 | 102.68 ▼6.14 | 74.57 ▲36.78 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.98 ▼0.03 | 33.80 ▼2.52 | 33.47 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 17.56 ▼5.48 | 779.59 ▲82.57 | 58.95 ▲5.92 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.12 ▼0.17 | 138.50 ▲23.29 | 92.30 ▲37.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% 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:
- Requires at least: Invalid version format
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
botrx-detx/botrx-detx-plugin.php 92% from 13 tests
"BotRx DeTx Plugin" version 1.0.7'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:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("botrx-detx.php" instead of "botrx-detx-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,488 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 292 | 347 | 1,296 |
JavaScript | 1 | 32 | 16 | 189 |
JSON | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 84.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 67 | |
▷ Static methods | 14 | 20.90% |
▷ Public methods | 63 | 94.03% |
▷ Protected methods | 4 | 5.97% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 0.79KB | 1.25KB | 0.00% |