Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.31ms] Passed 4 tests
A check of server-side resources used by Roxi
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.88 ▼9.03 |
Dashboard /wp-admin | 3.32 ▲0.02 | 56.08 ▲7.85 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.66 ▲2.28 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 100.48 ▲6.55 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.60 ▲1.42 |
Roxi Settings /wp-admin/options-general.php?page=roxi-setting-admin | 3.19 | 34.22 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
roxi_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Roxi
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 14.48 ▲0.11 | 1.67 ▼0.42 | 38.07 ▼2.26 |
Dashboard /wp-admin | 2,216 ▲28 | 4.85 ▼0.04 | 100.84 ▼2.66 | 39.29 ▼2.02 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.01 | 40.07 ▲1.98 | 34.86 ▲1.83 |
Add New Post /wp-admin/post-new.php | 1,526 ▼4 | 23.14 ▲4.84 | 603.08 ▲4.07 | 52.22 ▼0.59 |
Media Library /wp-admin/upload.php | 1,395 ▲16 | 4.21 ▼0.09 | 95.91 ▼7.20 | 40.92 ▼5.46 |
Roxi Settings /wp-admin/options-general.php?page=roxi-setting-admin | 841 | 2.04 | 31.29 | 39.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- roxi_options
- can_compress_scripts
- db_upgraded
- 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=roxi-setting-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=roxi-setting-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/roxi/roxi.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/roxi/class.roxi-settings.php:173
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
9 plugin tags: clubs, nightlife, entertainment, roxi, tickets...
roxi/roxi.php Passed 13 tests
This is the main PHP file of "Roxi" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
68 characters long description:
This plugin allows the Roxi Widget to be placed on any post or page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin189 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 46 | 89 | 178 |
JavaScript | 1 | 3 | 5 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/img/roxi.png | 3.27KB | 0.61KB | ▼ 81.20% |