Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.72MB] [CPU: ▲3.09ms] 75% from 4 tests
A check of server-side resources used by WP Education - Education WordPress Plugin for Elementor
It is recommended to improve the following
- CPU: You should keep total CPU usage under 500.00ms (currently 1,361.93ms on /wp-admin/admin.php?page=wpeducation-recommendations)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.67 | 45.09 ▼2.28 |
Dashboard /wp-admin | 4.08 ▲0.78 | 64.35 ▲13.14 |
Posts /wp-admin/edit.php | 4.14 ▲0.78 | 63.50 ▲6.39 |
Add New Post /wp-admin/post-new.php | 6.61 ▲0.72 | 90.81 ▼3.31 |
Media Library /wp-admin/upload.php | 3.92 ▲0.69 | 47.36 ▲11.56 |
Teachers /wp-admin/edit.php?post_type=teachers | 4.06 | 47.87 |
Add New /wp-admin/post-new.php?post_type=techeduem_footer | 4.10 | 54.80 |
Events /wp-admin/edit.php?post_type=events | 4.06 | 48.38 |
Recommendations /wp-admin/admin.php?page=wpeducation-recommendations | 8.29 | 1,361.93 |
Options /wp-admin/admin.php?page=wpeducation_options | 3.92 | 43.17 |
All Items /wp-admin/edit.php?post_type=techeduem_header | 4.06 | 43.53 |
Gallery /wp-admin/edit.php?post_type=gallery | 4.06 | 43.29 |
Add New /wp-admin/post-new.php?post_type=techeduem_header | 4.10 | 53.22 |
Course /wp-admin/edit.php?post_type=wpeducation | 4.06 | 45.05 |
All Items /wp-admin/edit.php?post_type=techeduem_footer | 4.06 | 47.37 |
Server storage [IO: ▲2.62MB] [DB: ▲0.67MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 88 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
teachers |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
pro_themes |
events |
settings |
Browser metrics Passed 4 tests
WP Education - Education WordPress Plugin for Elementor: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,279 ▲493 | 15.68 ▲1.40 | 15.76 ▲13.41 | 59.42 ▲17.05 |
Dashboard /wp-admin | 2,487 ▲307 | 6.37 ▲0.74 | 128.16 ▲37.47 | 44.87 ▲5.35 |
Posts /wp-admin/edit.php | 2,432 ▲332 | 3.63 ▲1.65 | 57.25 ▲19.57 | 42.15 ▲4.43 |
Add New Post /wp-admin/post-new.php | 1,522 ▼6 | 17.49 ▼5.42 | 582.12 ▼64.30 | 38.50 ▼20.87 |
Media Library /wp-admin/upload.php | 1,569 ▲169 | 4.25 ▲0.08 | 88.67 ▼10.70 | 45.09 ▲1.44 |
Teachers /wp-admin/edit.php?post_type=teachers | 1,419 | 3.59 | 52.70 | 34.56 |
Add New /wp-admin/post-new.php?post_type=techeduem_footer | 2,287 | 7.98 | 172.78 | 69.33 |
Events /wp-admin/edit.php?post_type=events | 1,416 | 3.58 | 51.87 | 34.43 |
Recommendations /wp-admin/admin.php?page=wpeducation-recommendations | 3,220 | 3.45 | 94.77 | 38.86 |
Options /wp-admin/admin.php?page=wpeducation_options | 1,532 | 3.62 | 91.11 | 33.29 |
All Items /wp-admin/edit.php?post_type=techeduem_header | 1,402 | 3.69 | 48.36 | 35.67 |
Gallery /wp-admin/edit.php?post_type=gallery | 1,413 | 3.60 | 52.88 | 35.10 |
Add New /wp-admin/post-new.php?post_type=techeduem_header | 2,284 | 7.77 | 165.79 | 56.57 |
Course /wp-admin/edit.php?post_type=wpeducation | 1,419 | 3.58 | 50.15 | 33.24 |
All Items /wp-admin/edit.php?post_type=techeduem_footer | 1,402 | 3.59 | 50.84 | 34.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.67MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 10 options
- widget_recent-posts
- theysaidso_admin_options
- events
- widget_theysaidso_widget
- teachers
- can_compress_scripts
- pro_themes
- db_upgraded
- settings
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-education/admin/wpeducation_shortcode.php:85
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-education/single-teachers.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-education/single-wpeducation.php:10
- > PHP Fatal error
require_once(): Failed opening required 'WPEDUCATION_ADDONS_PL_PATHadmin/admin-init.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-education/admin/init.php on line 2
- > PHP Warning
require_once(WPEDUCATION_ADDONS_PL_PATHadmin/admin-init.php): failed to open stream: No such file or directory in wp-content/plugins/wp-education/admin/init.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Icons_Manager' not found in wp-content/plugins/wp-education/includes/class.icon-manager.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-education/admin/wpeducation_custom-post-type.php:324
- > PHP Warning
Use of undefined constant WPEDUCATION_ADDONS_PL_PATH - assumed 'WPEDUCATION_ADDONS_PL_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-education/admin/init.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WPEducation_Settings_API' not found in wp-content/plugins/wp-education/admin/plugin-options.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-education/admin/admin-init.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #21, #22, #23, #24, #25, #26, #27, #28, #29, #3, #30, #31, #32, #4, #5, #6, #7, #8, #9 in wp-education/assets to your readme.txt
wp-education/wpeducation.php 85% from 13 tests
The entry point to "WP Education - Education WordPress Plugin for Elementor" version 1.2.7 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-education.php" instead of "wpeducation.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin23,889 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 1,723 | 642 | 14,722 |
CSS | 6 | 165 | 88 | 3,545 |
SVG | 1 | 0 | 0 | 2,671 |
PO File | 2 | 1,270 | 2,588 | 2,652 |
JavaScript | 14 | 68 | 96 | 299 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 17.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 205 | |
▷ Static methods | 4 | 1.95% |
▷ Public methods | 154 | 75.12% |
▷ Protected methods | 49 | 23.90% |
▷ Private methods | 2 | 0.98% |
Functions | 31 | |
▷ Named functions | 30 | 96.77% |
▷ Anonymous functions | 1 | 3.23% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/extensions/hashbar-pro.png | 3.15KB | 3.30KB | 0.00% |
(invalid) assets/images/extensions/cf7-extensions-pro.png | 8.57KB | 0.00KB | ▼ 100.00% |
(invalid) assets/images/extensions/ht-google-place-review.png | 2.64KB | 0.00KB | ▼ 100.00% |
assets/images/extensions/htmega-pro.png | 4.60KB | 4.78KB | 0.00% |
assets/images/extensions/woolentor-addons-pro.png | 3.20KB | 1.69KB | ▼ 47.09% |