Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼8.70ms] Passed 4 tests
Analyzing server-side resources used by HILFE AR
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 41.21 ▼0.26 |
Dashboard /wp-admin | 3.68 ▲0.33 | 48.95 ▼14.70 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 55.85 ▲7.85 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 82.22 ▼20.05 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 34.32 ▲0.21 |
Popup guide /wp-admin/admin.php?page=hilfe-guide | 3.56 | 36.13 |
Shortcode /wp-admin/admin.php?page=hilfe-shortcode | 3.52 | 39.06 |
Dashboard /wp-admin/admin.php?page=hilfe-dashboard | 3.51 | 36.44 |
Edit shortcode /wp-admin/admin.php?page=hilfe-shortcode-edit | 3.52 | 35.02 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by HILFE AR
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,443 ▲697 | 15.56 ▲1.18 | 6.14 ▲4.04 | 52.44 ▲6.82 |
Dashboard /wp-admin | 2,379 ▲191 | 6.58 ▲1.66 | 129.83 ▲6.90 | 93.69 ▲48.67 |
Posts /wp-admin/edit.php | 2,297 ▲208 | 3.52 ▲1.49 | 57.12 ▲21.12 | 78.83 ▲42.62 |
Add New Post /wp-admin/post-new.php | 1,555 ▲13 | 23.17 ▲4.63 | 659.74 ▲25.96 | 35.61 ▼20.50 |
Media Library /wp-admin/upload.php | 1,442 ▲57 | 4.30 ▲0.12 | 82.28 ▼21.17 | 83.24 ▲39.93 |
Popup guide /wp-admin/admin.php?page=hilfe-guide | 1,734 | 3.77 | 57.52 | 79.80 |
Shortcode /wp-admin/admin.php?page=hilfe-shortcode | 1,432 | 3.16 | 39.68 | 78.22 |
Dashboard /wp-admin/admin.php?page=hilfe-dashboard | 3,488 | 5.75 | 119.56 | 687.82 |
Edit shortcode /wp-admin/admin.php?page=hilfe-shortcode-edit | 2,112 | 3.80 | 48.51 | 34.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/hilfe/admin/partials/hilfe-admin-display.php
- > /wp-content/plugins/hilfe/public/partials/hilfe-display.php
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'HILFE_Admin_Base' not found in wp-content/plugins/hilfe/admin/class-hilfe-admin-dashboard.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/hilfe/admin/partials/hilfe-admin-guide-display.php:22
- > PHP Fatal error
Uncaught Error: Class 'HILFE_Admin_Base' not found in wp-content/plugins/hilfe/admin/class-hilfe-admin-shortcode-edit.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/hilfe/admin/partials/hilfe-admin-dashboard-display.php:21
- > PHP Fatal error
Uncaught Error: Class 'HILFE_Admin_Base' not found in wp-content/plugins/hilfe/admin/class-hilfe-admin-guide.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/hilfe/admin/partials/hilfe-admin-shortcode-edit-display.php:27
- > PHP Fatal error
Uncaught Error: Class 'HILFE_Public_Base' not found in wp-content/plugins/hilfe/public/class-hilfe-public-guide.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/hilfe/admin/partials/hilfe-admin-shortcode-display.php:22
- > PHP Fatal error
Uncaught Error: Class 'HILFE_Public_Base' not found in wp-content/plugins/hilfe/public/class-hilfe-public-shortcode.php:10
- > PHP Fatal error
Uncaught Error: Class 'HILFE_Model_Base' not found in wp-content/plugins/hilfe/model/class-hilfe-model-shortcode.php:3
- > PHP Fatal error
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 Passed 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
5 plugin tags: augmented reality, electronic commerce, virtual reality, booking, reservation
hilfe/hilfe.php Passed 13 tests
The principal PHP file in "HILFE AR" v. 1.0.0 is loaded by WordPress automatically on each request
137 characters long description:
HILFE AR plugin helps add more functions to banner and guidance editing , which will make it easier to manage a post of a wordpress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin2,546 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 316 | 1,167 | 1,774 |
PO File | 2 | 158 | 186 | 373 |
CSS | 2 | 113 | 29 | 365 |
JavaScript | 2 | 9 | 60 | 25 |
SVG | 9 | 0 | 0 | 9 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 3 | 14.29% |
▷ Concrete classes | 18 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 3 | 4.23% |
▷ Public methods | 58 | 81.69% |
▷ Protected methods | 4 | 5.63% |
▷ Private methods | 9 | 12.68% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/logo/logo20x20.png | 2.25KB | 1.28KB | ▼ 43.18% |
public/images/icon/googleplay.png | 5.78KB | 2.77KB | ▼ 52.01% |
public/images/logo/logo512x512.png | 62.29KB | 24.80KB | ▼ 60.19% |