Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲3.45MB] [CPU: ▲27.25ms] Passed 4 tests
An overview of server-side resources used by Easy School Registration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.75 ▲3.28 | 65.68 ▲28.67 |
Dashboard /wp-admin | 6.86 ▲3.56 | 106.93 ▲59.09 |
Posts /wp-admin/edit.php | 6.89 ▲3.54 | 62.90 ▲23.14 |
Add New Post /wp-admin/post-new.php | 9.37 ▲3.49 | 116.28 ▲28.53 |
Media Library /wp-admin/upload.php | 6.70 ▲3.47 | 63.21 ▲28.66 |
Server storage [IO: ▲5.24MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 181 new files
Database: 8 new tables, 8 new options
New tables |
---|
wp_esr_course_summary |
wp_esr_user_payment |
wp_esr_teacher_data |
wp_esr_course_dates |
wp_esr_course_registration |
wp_esr_course_data |
wp_esr_wave_data |
wp_esr_log |
New WordPress options |
---|
widget_recent-posts |
esr_settings |
db_upgraded |
can_compress_scripts |
esr_db_version |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Easy School Registration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 14.14 ▼0.59 | 1.76 ▲0.09 | 43.55 ▲5.17 |
Dashboard /wp-admin | 2,281 ▲107 | 5.58 ▲0.01 | 84.31 ▼6.39 | 37.45 ▼1.75 |
Posts /wp-admin/edit.php | 2,186 ▲86 | 2.01 ▼0.01 | 40.21 ▲3.64 | 41.01 ▲10.63 |
Add New Post /wp-admin/post-new.php | 6,447 ▲4,918 | 22.63 ▼0.46 | 946.64 ▲276.67 | 43.71 ▼3.61 |
Media Library /wp-admin/upload.php | 1,486 ▲86 | 4.23 ▲0.05 | 105.49 ▼7.71 | 44.00 ▼4.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 8 tables in the database
- wp_esr_course_dates
- wp_esr_teacher_data
- wp_esr_course_data
- wp_esr_wave_data
- wp_esr_log
- wp_esr_course_registration
- wp_esr_user_payment
- wp_esr_course_summary
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- esr_db_version
- db_upgraded
- can_compress_scripts
- esr_settings
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-school-registration/inc/class/esr-tiny-mce.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-school-registration/inc/cron/esr-payment-reminder-email.cron.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-school-registration/inc/cron/esr-payment-email.cron.php:108
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-school-registration/inc/cron/esr-waiting-email.cron.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_option() in wp-content/plugins/easy-school-registration/inc/database/updates/esr-update.3.9.3.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #3 (Course in numbers administration page) image required
easy-school-registration/easy-school-registration.php Passed 13 tests
The main PHP script in "Easy School Registration" version 3.9.7 is automatically included on every request by WordPress
40 characters long description:
Tools to help you run your school better
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin28,599 lines of code in 167 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 1 | 13,354 | 20,034 | 13,403 |
PHP | 134 | 2,658 | 847 | 12,931 |
JavaScript | 20 | 321 | 445 | 2,116 |
SVG | 3 | 0 | 3 | 130 |
CSS | 9 | 13 | 21 | 19 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 12.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 131 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 131 | 100.00% |
▷ Final classes | 1 | 0.76% |
Methods | 651 | |
▷ Static methods | 328 | 50.38% |
▷ Public methods | 587 | 90.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 64 | 9.83% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 34 | |
▷ Global constants | 6 | 17.65% |
▷ Class constants | 28 | 82.35% |
▷ Public constants | 28 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/datatable/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
libs/datatable/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
libs/datatable/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
libs/datatable/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
libs/datatable/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |