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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼7.96ms] Passed 4 tests
Analyzing server-side resources used by Business Era Extension
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 37.97 ▼4.45 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.47 ▼6.50 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 47.34 ▼4.99 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 83.39 ▼15.91 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.03 ▲3.59 |
Add New /wp-admin/post-new.php?post_type=team | 3.46 | 53.34 |
Categories /wp-admin/edit-tags.php?taxonomy=team-categories&post_type=team | 3.34 | 35.68 |
All Items /wp-admin/edit.php?post_type=testimonials | 3.39 | 34.99 |
Categories /wp-admin/edit-tags.php?taxonomy=testimonials-categories&post_type=testimonials | 3.34 | 34.21 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.47 | 52.00 |
All Items /wp-admin/edit.php?post_type=portfolio | 3.39 | 36.66 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio-categories&post_type=portfolio | 3.34 | 32.69 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.47 | 51.44 |
All Items /wp-admin/edit.php?post_type=team | 3.39 | 34.16 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_business-era-our-team |
widget_business-era-portfolio |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_business-era-testimonials |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Business Era Extension
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,020 ▲263 | 13.59 ▼0.99 | 5.26 ▲3.14 | 37.00 ▼9.76 |
Dashboard /wp-admin | 2,309 ▲124 | 5.80 ▲0.95 | 100.01 ▼11.77 | 42.70 ▲1.45 |
Posts /wp-admin/edit.php | 2,194 ▲102 | 2.02 ▼0.01 | 40.24 ▲4.39 | 38.08 ▲6.94 |
Add New Post /wp-admin/post-new.php | 1,602 ▲83 | 17.88 ▼5.34 | 697.80 ▲10.11 | 53.21 ▼7.66 |
Media Library /wp-admin/upload.php | 1,491 ▲106 | 4.25 ▲0.06 | 113.16 ▲18.01 | 49.28 ▲6.27 |
Add New /wp-admin/post-new.php?post_type=team | 2,509 | 7.79 | 168.13 | 67.87 |
Categories /wp-admin/edit-tags.php?taxonomy=team-categories&post_type=team | 1,362 | 2.31 | 27.25 | 29.26 |
All Items /wp-admin/edit.php?post_type=testimonials | 1,172 | 1.93 | 33.61 | 30.53 |
Categories /wp-admin/edit-tags.php?taxonomy=testimonials-categories&post_type=testimonials | 1,365 | 2.31 | 29.85 | 31.98 |
Add New /wp-admin/post-new.php?post_type=testimonials | 2,422 | 7.73 | 164.53 | 56.39 |
All Items /wp-admin/edit.php?post_type=portfolio | 1,172 | 1.95 | 30.74 | 31.68 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio-categories&post_type=portfolio | 1,362 | 2.31 | 28.64 | 29.24 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,450 | 7.68 | 167.56 | 56.54 |
All Items /wp-admin/edit.php?post_type=team | 1,172 | 1.95 | 29.88 | 30.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_business-era-our-team
- widget_recent-posts
- theysaidso_admin_options
- widget_business-era-portfolio
- widget_recent-comments
- can_compress_scripts
- widget_business-era-testimonials
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-era-extension/testimonials-widget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-era-extension/team.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-era-extension/testimonials.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-era-extension/team-widget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-era-extension/portfolio.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-era-extension/portfolio-widget.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: custom post type, widget, business-era, sidebar, metaboxes...
business-era-extension/business-era-extension.php 92% from 13 tests
The entry point to "Business Era Extension" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 143 characters long)
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
There were no executable files found in this plugin1,222 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 367 | 98 | 1,183 |
JavaScript | 2 | 8 | 11 | 39 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin