Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/realbig-media/realbigForWP.php+631
Undefined variable: wpPrefix
Server metrics [RAM: ▲0.09MB] [CPU: ▲12.10ms] Passed 4 tests
An overview of server-side resources used by Realbig For WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 70.82 ▲28.62 |
Dashboard /wp-admin | 3.44 ▲0.10 | 65.40 ▲0.80 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 70.32 ▲23.37 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 101.09 ▲1.76 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 55.66 ▲22.45 |
Server storage [IO: ▲0.61MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 62 new files
Database: 7 new tables, 7 new options
New tables |
---|
realbig_turbo_ads |
realbig_settings |
wp_realbig_plugin_settings |
realbig_plugin_settings |
wp_realbig_settings |
wp_realbig_amp_ads |
wp_realbig_turbo_ads |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
realbigForWP_version |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Realbig For WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲147 | 14.47 ▲0.12 | 8.58 ▲6.93 | 44.60 ▼4.08 |
Dashboard /wp-admin | 2,251 ▲71 | 5.58 ▼0.04 | 90.74 ▼4.67 | 40.59 ▼2.51 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.04 ▲0.09 | 37.95 ▲0.59 | 31.87 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.04 ▼0.27 | 692.66 ▲36.30 | 67.60 ▲8.40 |
Media Library /wp-admin/upload.php | 1,457 ▲57 | 4.18 ▲0.01 | 96.53 ▼4.82 | 41.28 ▼0.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The plugin did not uninstall successfully, leaving 5 tables in the database
- wp_realbig_amp_ads
- realbig_plugin_settings
- realbig_turbo_ads
- wp_realbig_turbo_ads
- realbig_settings
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- realbigForWP_version
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/realbig-media/templates/adminPage/turbo/counts.php
- > /wp-content/plugins/realbig-media/templates/adminPage/turbo/templates.php
- > /wp-content/plugins/realbig-media/templates/adminPage/turbo/types.php
- > /wp-content/plugins/realbig-media/templates/adminPage/cache.php
- 29× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RFWP_Utils' not found in wp-content/plugins/realbig-media/templates/adminPage/turbo/blocks/feedback.php:52
- > PHP Notice
Undefined index: title in wp-content/plugins/realbig-media/templates/adminPage/turbo/feed.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-filesystem-base.php' (include_path='.:/usr/share/php') in wp-content/plugins/realbig-media/templates/adminPage.php on line 2
- > PHP Notice
Undefined index: blockFeedbackPosition in wp-content/plugins/realbig-media/templates/adminPage/turbo/blocks/feedback.php on line 23
- > PHP Fatal error
Uncaught Error: Class 'RFWP_Utils' not found in wp-content/plugins/realbig-media/templates/adminPage/turbo/design.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/realbig-media/templates/adminPage.php on line 2
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/realbig-media/testFunctions.php:5
- > PHP Notice
Undefined index: token in wp-content/plugins/realbig-media/templates/adminPage/sync.php on line 8
- > PHP Notice
Undefined index: lang in wp-content/plugins/realbig-media/templates/adminPage/turbo/feed.php on line 11
- > PHP Notice
Undefined index: name in wp-content/plugins/realbig-media/templates/adminPage/turbo/feed.php on line 8
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: ad, content filling
realbig-media/realbigForWP.php 92% from 13 tests
The principal PHP file in "Realbig For WordPress" v. 1.0.4 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("realbig-media.php" instead of "realbigForWP.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin9,249 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 942 | 1,705 | 7,518 |
JavaScript | 4 | 124 | 190 | 1,539 |
CSS | 1 | 33 | 3 | 184 |
SVG | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 24.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 76 | 80.85% |
▷ Public methods | 71 | 75.53% |
▷ Protected methods | 7 | 7.45% |
▷ Private methods | 16 | 17.02% |
Functions | 143 | |
▷ Named functions | 138 | 96.50% |
▷ Anonymous functions | 5 | 3.50% |
Constants | 30 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 30 | 100.00% |
▷ Public constants | 30 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/realbig_plugin_hover.png | 3.95KB | 1.20KB | ▼ 69.50% |
assets/realbig_plugin_standart_old.png | 3.85KB | 1.08KB | ▼ 72.09% |
assets/realbig_plugin_standart.png | 3.85KB | 1.08KB | ▼ 72.09% |
assets/realbig_plugin_hover_old.png | 3.95KB | 1.20KB | ▼ 69.50% |