Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.21ms] Passed 4 tests
Server-side resources used by A Free SEO Site Audit For Woocommerce by Benchmark Hero
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 32.91 ▼11.21 |
Dashboard /wp-admin | 3.33 ▼0.01 | 45.43 ▼12.92 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.48 ▲1.16 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 96.17 ▼5.85 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.79 ▲2.55 |
Server storage [IO: ▲0.07MB] [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: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by A Free SEO Site Audit For Woocommerce by Benchmark Hero
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲41 | 13.60 ▼0.95 | 1.62 ▼0.35 | 43.78 ▼0.04 |
Dashboard /wp-admin | 2,218 ▲33 | 4.83 ▼1.04 | 107.93 ▲5.93 | 39.51 ▲1.48 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.01 ▼0.00 | 40.68 ▲6.86 | 34.73 ▲1.00 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 18.20 ▼4.90 | 611.85 ▼64.46 | 56.37 ▼9.22 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.21 ▼0.03 | 97.09 ▼9.86 | 41.28 ▼6.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/benchmark-hero-quick-site-audit-for-your-ecommerce/templates/admin-page.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/benchmark-hero-quick-site-audit-for-your-ecommerce/storeya-benchmark.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/benchmark-hero-quick-site-audit-for-your-ecommerce/src/storeya_benchmark_report_handler.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
9 plugin tags: seo, marketing, adwords, benchmark, image optimization...
benchmark-hero-quick-site-audit-for-your-ecommerce/storeya-benchmark.php 85% from 13 tests
The principal PHP file in "A Free SEO Site Audit For Woocommerce by Benchmark Hero" v. 1.0.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("benchmark-hero-quick-site-audit-for-your-ecommerce.php" instead of "storeya-benchmark.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected1,797 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 287 | 155 | 1,307 |
PHP | 7 | 59 | 12 | 266 |
CSS | 1 | 39 | 1 | 224 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 3.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 23 | 95.83% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin