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.08MB] [CPU: ▼4.53ms] Passed 4 tests
A check of server-side resources used by RobberBaron.TV – Direct your followers to your premium content on RobberBaron
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.14 ▲1.84 |
Dashboard /wp-admin | 3.38 ▲0.08 | 50.91 ▼1.56 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 49.81 ▼7.14 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 87.55 ▼9.17 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.36 ▼0.24 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
robber_baron_tv_user_id |
can_compress_scripts |
robber_baron_tv_connected |
widget_theysaidso_widget |
widget_recent-comments |
robber_baron_tv_email_address |
widget_robber_baron_tv |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RobberBaron.TV – Direct your followers to your premium content on RobberBaron
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲49 | 13.29 ▼1.09 | 1.77 ▼0.02 | 45.91 ▼0.13 |
Dashboard /wp-admin | 2,227 ▲45 | 4.85 ▼1.03 | 102.95 ▼8.31 | 44.95 ▲4.31 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.00 ▼0.05 | 37.51 ▼2.36 | 32.70 ▼7.20 |
Add New Post /wp-admin/post-new.php | 1,543 ▲14 | 23.14 ▲4.98 | 649.04 ▲14.54 | 57.24 ▲7.43 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.23 ▼0.00 | 99.29 ▼2.77 | 46.29 ▲0.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_robber_baron_tv
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/robberbaron-tv/robber-baron-tv.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: creator, video, premium, content, influencer
robberbaron-tv/robber-baron-tv.php 85% from 13 tests
The main PHP script in "RobberBaron.TV – Direct your followers to your premium content on RobberBaron" version 1.0.1 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 456 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("robberbaron-tv.php" instead of "robber-baron-tv.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected389 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 119 | 248 | 338 |
CSS | 2 | 9 | 3 | 51 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 1.37MB with 0.98MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 273.53KB | 78.25KB | ▼ 71.39% |
screenshot-3.png | 275.70KB | 78.72KB | ▼ 71.45% |
screenshot-2.png | 287.58KB | 81.22KB | ▼ 71.76% |
screenshot-1.png | 278.89KB | 79.41KB | ▼ 71.53% |
screenshot-4.png | 281.12KB | 79.79KB | ▼ 71.62% |