Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▲2.24ms] Passed 4 tests
This is a short check of server-side resources used by FUEL Bitcentral
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 47.20 ▲12.83 |
Dashboard /wp-admin | 3.43 ▲0.09 | 55.75 ▼4.78 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 60.33 ▲12.11 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 94.33 ▼8.13 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 42.54 ▲9.76 |
Fuel Categories /wp-admin/edit-tags.php?taxonomy=fuel_category&post_type=fuel | 3.49 | 43.24 |
Fuel Settings /wp-admin/options-general.php?page=fuel | 3.34 | 42.26 |
Add New /wp-admin/post-new.php?post_type=fuel_importer | 3.54 | 50.52 |
Fuel Tags /wp-admin/edit-tags.php?taxonomy=fuel_tag&post_type=fuel | 3.37 | 43.11 |
Fuel Importer /wp-admin/edit.php?post_type=fuel_importer | 3.42 | 43.71 |
Fuel /wp-admin/edit.php?post_type=fuel | 3.42 | 44.50 |
Add New /wp-admin/post-new.php?post_type=fuel | 6.19 | 91.36 |
Fuel Script /wp-admin/edit.php?post_type=fuel&page=fuel_script | 3.34 | 41.19 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 51 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_fuel_script |
wp_fuel_posts_hash |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FUEL Bitcentral
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,029 ▲242 | 21.82 ▲7.48 | 32.22 ▲30.39 | 36.33 ▼2.63 |
Dashboard /wp-admin | 2,374 ▲200 | 10.96 ▲5.31 | 261.68 ▲165.94 | 44.37 ▼2.98 |
Posts /wp-admin/edit.php | 2,315 ▲215 | 10.53 ▲8.59 | 104.71 ▲63.69 | 34.42 ▼4.58 |
Add New Post /wp-admin/post-new.php | 6,962 ▲5,435 | 26.47 ▲3.36 | 782.12 ▲148.12 | 61.69 ▲12.50 |
Media Library /wp-admin/upload.php | 1,599 ▲196 | 12.47 ▲8.24 | 153.07 ▲55.25 | 42.32 ▲0.58 |
Fuel Categories /wp-admin/edit-tags.php?taxonomy=fuel_category&post_type=fuel | 1,481 | 10.42 | 92.78 | 29.46 |
Fuel Settings /wp-admin/options-general.php?page=fuel | 1,449 | 10.39 | 78.59 | 31.16 |
Add New /wp-admin/post-new.php?post_type=fuel_importer | 2,444 | 11.19 | 100.98 | 151.45 |
Fuel Tags /wp-admin/edit-tags.php?taxonomy=fuel_tag&post_type=fuel | 1,465 | 10.36 | 84.24 | 30.06 |
Fuel Importer /wp-admin/edit.php?post_type=fuel_importer | 1,324 | 10.53 | 84.59 | 30.23 |
Fuel /wp-admin/edit.php?post_type=fuel | 1,348 | 10.47 | 81.70 | 29.37 |
Add New /wp-admin/post-new.php?post_type=fuel | 2,359 | 17.00 | 810.77 | 172.79 |
Fuel Script /wp-admin/edit.php?post_type=fuel&page=fuel_script | 1,110 | 10.25 | 78.99 | 26.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_fuel_posts_hash
- wp_fuel_script
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 27× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fuel-bitcentral/shortcodes/list-tiles-tag.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_schedules() in wp-content/plugins/fuel-bitcentral/meta-box-form-mrss-importer.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fuel-bitcentral/shortcodes/single-video-category.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fuel-bitcentral/shortcodes/list-tiles.php:13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/fuel-bitcentral/fuel-bitcentral.php on line 22
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/file.php' (include_path='.:/usr/share/php') in wp-content/plugins/fuel-bitcentral/define.php on line 16
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/fuel-bitcentral/fuel-bitcentral.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fuel-bitcentral/shortcodes/single-channel.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fuel-bitcentral/template/single-fuel.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/fuel-bitcentral/template/taxonomy-fuel-tag.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: display-fuel, bitcentral-fuel, fuel-videos
fuel-bitcentral/fuel-bitcentral.php Passed 13 tests
The main file in "FUEL Bitcentral" v. 2.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
19 characters long description:
Display FUEL Videos
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected7,797 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 164 | 688 | 3,609 |
JavaScript | 4 | 953 | 46 | 2,719 |
CSS | 5 | 137 | 18 | 1,456 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 87 | |
▷ Named functions | 86 | 98.85% |
▷ Anonymous functions | 1 | 1.15% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
11 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/share-icon.png | 1.49KB | 0.72KB | ▼ 52.00% |
assets/images/fuel-add-media-button-image.png | 0.84KB | 0.63KB | ▼ 25.26% |
assets/images/social/email.png | 2.02KB | 1.40KB | ▼ 30.33% |
assets/images/embed-code.png | 18.48KB | 8.14KB | ▼ 55.98% |
assets/images/play-button.png | 8.67KB | 7.18KB | ▼ 17.15% |