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.00MB] [CPU: ▼5.52ms] Passed 4 tests
Analyzing server-side resources used by Hester Core
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.11 ▼6.02 |
Dashboard /wp-admin | 3.32 ▼0.03 | 50.07 ▼11.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.95 ▼4.16 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.14 ▼0.51 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.09 ▲1.80 |
Server storage [IO: ▲2.03MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 356 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hester Core
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲57 | 14.70 ▲0.44 | 1.69 ▼0.41 | 38.29 ▼14.09 |
Dashboard /wp-admin | 2,198 ▲21 | 5.52 ▼0.08 | 84.39 ▼16.04 | 39.72 ▼2.07 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.02 ▲0.08 | 36.82 ▼2.38 | 36.35 ▼1.47 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.51 ▲0.27 | 591.94 ▼49.05 | 59.02 ▼3.94 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.19 ▲0.05 | 93.18 ▼5.65 | 42.61 ▲0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% 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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 21× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Use of undefined constant HESTER_CORE_PLUGIN_DIR - assumed 'HESTER_CORE_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/hester-core/themes/hester/hester.php on line 3
- > PHP Warning
Use of undefined constant HESTER_CORE_PLUGIN_DIR - assumed 'HESTER_CORE_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/hester-core/themes/hester/customizer/settings/index.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/hester-core/themes/hester/sections/section-slider.php:205
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/hester-core/themes/hester/customizer/settings/settings-services.php:2
- > PHP Warning
require_once(HESTER_CORE_PLUGIN_DIRthemes/hester/sections/section-slider.php): failed to open stream: No such file or directory in wp-content/plugins/hester-core/themes/hester/sections/index.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/hester-core/themes/hester/customizer/settings/settings-products.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/hester-core/core/widgets/class-hester-core-social-links-widget.php:9
- > PHP Warning
require_once(HESTER_CORE_PLUGIN_DIRthemes/hester/customizer/settings/settings-slider.php): failed to open stream: No such file or directory in wp-content/plugins/hester-core/themes/hester/customizer/settings/index.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/hester-core/themes/hester/customizer/settings/settings-features.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/hester-core/themes/hester/customizer/settings/settings-slider.php:3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: hester, demos, demo website, blocks, custom blocks...
hester-core/hester-core.php 85% from 13 tests
The main file in "Hester Core" v. 1.0.7 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:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
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
No dangerous file extensions were detected21,975 lines of code in 348 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 2,488 | 438 | 11,897 |
PHP | 36 | 1,348 | 1,753 | 6,327 |
CSS | 14 | 495 | 87 | 3,453 |
SVG | 288 | 0 | 0 | 298 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 35.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 5.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 10 | 50.00% |
Methods | 153 | |
▷ Static methods | 23 | 15.03% |
▷ Public methods | 134 | 87.58% |
▷ Protected methods | 1 | 0.65% |
▷ Private methods | 18 | 11.76% |
Functions | 38 | |
▷ Named functions | 33 | 86.84% |
▷ Anonymous functions | 5 | 13.16% |
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
1 compressed PNG file occupies 0.57MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/img01.png | 580.24KB | 652.23KB | 0.00% |