Benchmarks
Plugin footprint 83% 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.09MB] [CPU: ▼2.64ms] Passed 4 tests
An overview of server-side resources used by BeAgency Lite Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.60 ▼4.41 |
Dashboard /wp-admin | 3.40 ▲0.09 | 44.03 ▼6.02 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 46.33 ▼0.52 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 88.60 ▲3.32 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.84 ▲0.39 |
Portfolios /wp-admin/edit.php?post_type=portfolio | 3.36 | 37.10 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.98 | 65.42 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 3.31 | 32.00 |
Server storage [IO: ▲2.32MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 306 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by BeAgency Lite Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲110 | 13.21 ▼0.99 | 4.37 ▲2.58 | 38.17 ▼5.07 |
Dashboard /wp-admin | 2,245 ▲53 | 4.92 ▼0.99 | 102.32 ▼18.65 | 38.66 ▼6.92 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.08 ▲0.03 | 40.86 ▲7.36 | 34.35 ▼0.26 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 23.23 ▼0.31 | 625.52 ▼56.54 | 51.94 ▼2.37 |
Media Library /wp-admin/upload.php | 1,430 ▲39 | 4.26 ▲0.13 | 93.56 ▼10.95 | 40.62 ▼4.76 |
Portfolios /wp-admin/edit.php?post_type=portfolio | 1,103 | 1.99 | 32.81 | 29.92 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,425 | 7.85 | 168.54 | 64.31 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 1,307 | 2.31 | 28.39 | 25.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/beagency-lite/inc/cmb2/bootstrap.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beagency-lite/inc/cmb2/init.php:119
- > PHP Fatal error
Uncaught Error: Class 'CPT' not found in wp-content/plugins/beagency-lite/inc/cpt/portfolio-post-type.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beagency-lite/beagency-lite-plugin.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beagency-lite/inc/custom-menu/menu-item-custom-field.php:44
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu_Edit' not found in wp-content/plugins/beagency-lite/inc/custom-menu/walker-nav-menu-edit.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beagency-lite/inc/cmb2/init.php:119
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== beagency-lite ===
)
beagency-lite/beagency-lite-plugin.php 85% from 13 tests
The entry point to "BeAgency Lite Plugin" version 1.1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("beagency-lite.php" instead of "beagency-lite-plugin.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin38,461 lines of code in 160 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 119 | 12,731 | 16,329 | 29,151 |
CSS | 4 | 1,008 | 1,022 | 3,888 |
PHP | 21 | 1,156 | 2,621 | 3,315 |
Sass | 11 | 168 | 23 | 1,116 |
JavaScript | 3 | 164 | 116 | 654 |
Markdown | 2 | 119 | 0 | 337 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 33.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 234 | |
▷ Static methods | 28 | 11.97% |
▷ Public methods | 222 | 94.87% |
▷ Protected methods | 9 | 3.85% |
▷ Private methods | 3 | 1.28% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 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
14 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
inc/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
inc/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
inc/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |