Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.12MB] [CPU: ▼14.31ms] Passed 4 tests
Server-side resources used by SexBundle
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 47.30 ▲6.44 |
Dashboard /wp-admin | 3.26 ▼0.09 | 35.70 ▼29.52 |
Posts /wp-admin/edit.php | 3.33 ▼0.03 | 44.55 ▼5.91 |
Add New Post /wp-admin/post-new.php | 5.51 ▼0.38 | 77.55 ▼21.18 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 34.65 ▼0.64 |
SexBundle.com /wp-admin/admin.php?page=sexbundle | 3.24 | 33.71 |
Statistics /wp-admin/admin.php?page=sexbundle-statistics | 3.24 | 35.18 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_sexbundle_connections |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
sb_message |
widget_recent-comments |
sb_atc_settings |
can_compress_scripts |
sb_current_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for SexBundle
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲91 | 14.40 ▼0.13 | 1.88 ▲0.21 | 34.26 ▼10.62 |
Dashboard /wp-admin | 2,258 ▲84 | 5.77 ▲0.16 | 86.91 ▼8.85 | 89.24 ▲49.01 |
Posts /wp-admin/edit.php | 2,180 ▲80 | 2.55 ▲0.61 | 38.10 ▼12.96 | 38.79 ▼2.80 |
Add New Post /wp-admin/post-new.php | 1,587 ▲61 | 23.02 ▼0.12 | 740.72 ▲62.91 | 50.48 ▼7.90 |
Media Library /wp-admin/upload.php | 1,463 ▲60 | 4.36 ▲0.15 | 100.63 ▲3.56 | 78.06 ▲34.90 |
SexBundle.com /wp-admin/admin.php?page=sexbundle | 867 | 1.85 | 24.34 | 31.17 |
Statistics /wp-admin/admin.php?page=sexbundle-statistics | 816 | 1.85 | 28.91 | 28.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_sexbundle_connections
- This plugin does not fully uninstall, leaving 8 options in the database
- can_compress_scripts
- sb_message
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- sb_current_version
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sexbundle-statistics
- > Notice in wp-content/plugins/sexbundle/sexbundle.php+60
Undefined variable: answer
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sexbundle-statistics
- > Notice in wp-content/plugins/sexbundle/sexbundle.php+60
Trying to get property 'message' of non-object
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 items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sexbundle/tabs/statistics.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sexbundle/tabs/main.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sexbundle/sexbundle.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== sexbundle ===
)
sexbundle/sexbundle.php Passed 13 tests
The main PHP script in "SexBundle" version 1.4 is automatically included on every request by WordPress
31 characters long description:
SexBundle.Com Management plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin6,892 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 998 | 737 | 4,970 |
Markdown | 10 | 328 | 0 | 902 |
PHP | 3 | 394 | 27 | 692 |
HTML | 6 | 39 | 0 | 298 |
JSON | 2 | 0 | 0 | 30 |
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 issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
close.png | 1.68KB | 1.04KB | ▼ 37.89% |
transparent_bg.png | 0.90KB | 0.09KB | ▼ 89.71% |
correct.png | 2.62KB | 1.37KB | ▼ 47.50% |
icon.png | 1.60KB | 0.75KB | ▼ 52.93% |