Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲4.80MB] [CPU: ▼25.42ms] Passed 4 tests
Server-side resources used by Education Addon for Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.78 ▲5.32 | 33.96 ▼7.35 |
Dashboard /wp-admin | 8.80 ▲5.50 | 37.49 ▼11.56 |
Posts /wp-admin/edit.php | 8.80 ▲5.45 | 42.83 ▼10.82 |
Add New Post /wp-admin/post-new.php | 8.80 ▲2.92 | 37.76 ▼71.93 |
Media Library /wp-admin/upload.php | 8.80 ▲5.58 | 44.06 ▲7.33 |
Education Addon /wp-admin/admin.php?page=naedu_admin_page | 8.80 | 40.44 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.80 | 38.63 |
Enable & Disable /wp-admin/admin.php?page=naedu_admin_sub_page | 8.80 | 36.71 |
Server storage [IO: ▲9.44MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 302 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
fs_accounts |
widget_theysaidso_widget |
fs_active_plugins |
db_upgraded |
fs_debug_mode |
widget_recent-posts |
fs_gdpr |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Education Addon for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,021 ▲275 | 13.72 ▼0.66 | 7.48 ▲5.52 | 32.86 ▼8.24 |
Dashboard /wp-admin | 2,286 ▲110 | 5.84 ▲0.95 | 117.51 ▲2.17 | 48.23 ▲4.67 |
Posts /wp-admin/edit.php | 2,169 ▲80 | 2.02 ▼0.03 | 38.62 ▼4.29 | 34.36 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,568 ▲26 | 23.26 ▲4.90 | 654.41 ▲33.21 | 49.77 ▼10.04 |
Media Library /wp-admin/upload.php | 1,465 ▲77 | 4.25 ▼0.01 | 100.83 ▼10.07 | 49.23 ▲2.71 |
Education Addon /wp-admin/admin.php?page=naedu_admin_page | 1,248 | 1.80 | 33.95 | 53.41 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,076 | 1.69 | 26.88 | 25.57 |
Enable & Disable /wp-admin/admin.php?page=naedu_admin_sub_page | 1,287 | 2.07 | 26.10 | 30.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/education-addon/elementor/em-setup.php+58
Use of undefined constant ELEMENTOR_VERSION - assumed 'ELEMENTOR_VERSION' (this will throw an Error in a future version of PHP)
- The uninstall procedure has failed, leaving 10 options in the database
- db_upgraded
- widget_theysaidso_widget
- fs_debug_mode
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- fs_accounts
- fs_gdpr
- theysaidso_admin_options
- fs_active_plugins
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=naedu_admin_sub_page
- > Warning in wp-content/plugins/education-addon/elementor/em-setup.php+58
Use of undefined constant ELEMENTOR_VERSION - assumed 'ELEMENTOR_VERSION' (this will throw an Error in a future version of PHP)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 31× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/education-addon/elementor/widgets/basic/nabasic-events.php:9
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/education-addon/education-addon.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/education-addon/elementor/widgets/basic/nabasic-sensei-category.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/education-addon/elementor/widgets/basic/nabasic-pricing-table.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/education-addon/elementor/widgets/basic/nabasic-courses-carousel.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/education-addon/elementor/widgets/basic/nabasic-process.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/education-addon/elementor/widgets/basic/nabasic-instructor.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/education-addon/elementor/widgets/basic/nabasic-appointment.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/education-addon/elementor/widgets/basic/nabasic-step-flow.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/education-addon/elementor/widgets/basic/nabasic-blog.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: student, education, online courses, school, learning management system...
education-addon/education-addon.php 92% from 13 tests
The main PHP file in "Education Addon for Elementor" ver. 1.3.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 194 characters long)
Code Analysis 97% from 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
There were no executable files found in this plugin85,918 lines of code in 206 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 144 | 8,245 | 17,147 | 49,933 |
CSS | 30 | 2,993 | 236 | 20,970 |
SVG | 15 | 8 | 13 | 10,884 |
JavaScript | 12 | 791 | 1,321 | 3,887 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 4 | 0 | 0 | 30 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 67.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 76 | |
▷ Abstract classes | 2 | 2.63% |
▷ Concrete classes | 74 | 97.37% |
▷ Final classes | 0 | 0.00% |
Methods | 1,315 | |
▷ Static methods | 181 | 13.76% |
▷ Public methods | 919 | 69.89% |
▷ Protected methods | 71 | 5.40% |
▷ Private methods | 325 | 24.71% |
Functions | 151 | |
▷ Named functions | 149 | 98.68% |
▷ Anonymous functions | 2 | 1.32% |
Constants | 125 | |
▷ Global constants | 98 | 78.40% |
▷ Class constants | 27 | 21.60% |
▷ Public constants | 27 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 8.46KB | 4.21KB | ▼ 50.21% |
assets/images/process2.png | 2.45KB | 1.93KB | ▼ 21.00% |
assets/images/mc4wp-ico.png | 0.94KB | 0.17KB | ▼ 81.59% |
freemius/assets/img/theme-icon.png | 8.46KB | 4.21KB | ▼ 50.21% |
assets/images/product-bg.png | 0.95KB | 0.11KB | ▼ 88.89% |