Benchmarks
Plugin footprint 83% 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.54MB] [CPU: ▼7.33ms] Passed 4 tests
Server-side resources used by BrightEdge Autopilot
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.56 | 40.25 ▲0.23 |
Dashboard /wp-admin | 3.86 ▲0.51 | 46.37 ▼16.16 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 49.18 ▲2.07 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.55 | 88.91 ▼15.47 |
Media Library /wp-admin/upload.php | 3.78 ▲0.55 | 38.83 ▲5.47 |
BrightEdge Autopilot /wp-admin/options-general.php?page=be_ixf | 3.74 | 31.20 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_wp_be_ixf_lem_widget |
be_ixf |
Browser metrics Passed 4 tests
BrightEdge Autopilot: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.70 ▲0.43 | 1.71 ▲0.05 | 42.50 ▼1.97 |
Dashboard /wp-admin | 2,202 ▲22 | 5.66 ▲0.04 | 92.27 ▼6.78 | 38.83 ▼8.71 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▲0.05 | 39.15 ▲3.70 | 38.84 ▲2.95 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.63 ▲0.38 | 587.33 ▼37.32 | 50.04 ▼4.79 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.19 ▼0.01 | 102.92 ▲4.29 | 42.09 ▼0.85 |
BrightEdge Autopilot /wp-admin/options-general.php?page=be_ixf | 1,062 | 2.16 | 23.41 | 36.12 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_wp_be_ixf_lem_widget
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- 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 | 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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/brightedge-autopilot/src/WidgetLem.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/brightedge-autopilot/src/WidgetLem.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/brightedge-autopilot/src/WidgetLem.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #2 is required in brightedge-autopilot/assets to your readme.txt
brightedge-autopilot/be_ixf_php_wp.php 77% from 13 tests
The main file in "BrightEdge Autopilot" v. 1.1.13 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("brightedge-autopilot.php" instead of "be_ixf_php_wp.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 plugin2,563 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 405 | 389 | 2,562 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 22.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 123.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 173 | |
▷ Static methods | 32 | 18.50% |
▷ Public methods | 161 | 93.06% |
▷ Protected methods | 10 | 5.78% |
▷ Private methods | 2 | 1.16% |
Functions | 10 | |
▷ Named functions | 4 | 40.00% |
▷ Anonymous functions | 6 | 60.00% |
Constants | 24 | |
▷ Global constants | 1 | 4.17% |
▷ Class constants | 23 | 95.83% |
▷ Public constants | 23 | 100.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
PNG images were not found in this plugin