Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.97ms] Passed 4 tests
Server-side resources used by Free Education Helper
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.48 ▼5.67 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.72 ▲1.82 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 50.26 ▲4.38 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 85.13 ▼3.45 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.87 ▼0.58 |
Category /wp-admin/edit-tags.php?taxonomy=event_categories&post_type=event | 3.31 | 34.02 |
Category /wp-admin/edit-tags.php?taxonomy=testimonials_categories&post_type=testimonial | 3.31 | 34.33 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=service | 3.31 | 33.27 |
Add New /wp-admin/post-new.php?post_type=event | 3.44 | 52.83 |
Testimonial /wp-admin/edit.php?post_type=testimonial | 3.36 | 34.92 |
Free Education Helper /wp-admin/themes.php?page=free_education_helper | 3.31 | 30.50 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=event | 3.31 | 32.80 |
Events /wp-admin/edit.php?post_type=event | 3.36 | 35.92 |
Category /wp-admin/edit-tags.php?taxonomy=service_categories&post_type=service | 3.31 | 35.59 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=testimonial | 3.31 | 34.13 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Free Education Helper: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲183 | 13.30 ▼1.34 | 1.53 ▼0.22 | 41.32 ▼7.33 |
Dashboard /wp-admin | 2,318 ▲130 | 4.85 ▼1.02 | 108.19 ▲1.11 | 36.95 ▼5.11 |
Posts /wp-admin/edit.php | 2,198 ▲109 | 2.01 ▼0.09 | 39.63 ▲5.03 | 35.21 ▲4.63 |
Add New Post /wp-admin/post-new.php | 1,623 ▲90 | 22.95 ▼0.17 | 659.49 ▼26.68 | 51.90 ▼16.93 |
Media Library /wp-admin/upload.php | 1,488 ▲100 | 4.18 ▼0.04 | 94.93 ▼13.72 | 44.36 ▼3.33 |
Category /wp-admin/edit-tags.php?taxonomy=event_categories&post_type=event | 1,368 | 2.14 | 26.51 | 27.76 |
Category /wp-admin/edit-tags.php?taxonomy=testimonials_categories&post_type=testimonial | 1,374 | 2.14 | 26.09 | 28.45 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=service | 1,413 | 2.14 | 28.28 | 27.61 |
Add New /wp-admin/post-new.php?post_type=event | 2,436 | 7.85 | 173.58 | 67.41 |
Testimonial /wp-admin/edit.php?post_type=testimonial | 1,176 | 1.93 | 29.49 | 25.47 |
Free Education Helper /wp-admin/themes.php?page=free_education_helper | 863 | 2.19 | 23.78 | 25.93 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=event | 1,413 | 2.14 | 26.95 | 29.73 |
Events /wp-admin/edit.php?post_type=event | 1,179 | 1.93 | 30.02 | 28.77 |
Category /wp-admin/edit-tags.php?taxonomy=service_categories&post_type=service | 1,374 | 2.14 | 25.79 | 27.00 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=testimonial | 1,416 | 2.14 | 26.40 | 30.11 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/free-education-helper/free-education-helper.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/free-education-helper/inc/Api/Callbacks/AdminCallbacks.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/free-education-helper/inc/Base/FreeEducationRepeaterController.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/free-education-helper/templates/admin.php:2
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/free-education-helper/inc/Pages/Admin.php:11
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/free-education-helper/inc/Base/SettingsLinks.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/free-education-helper/inc/user-avatar-class.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/free-education-helper/inc/custom-post-types.php:107
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
1 plugin tags: themes
free-education-helper/free-education-helper.php Passed 13 tests
The main file in "Free Education Helper" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
30 characters long description:
Used for Free Education theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,237 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 175 | 306 | 1,219 |
JSON | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 48 | |
▷ Static methods | 8 | 16.67% |
▷ Public methods | 46 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.17% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin