Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼0.78ms] Passed 4 tests
A check of server-side resources used by Education Connect
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 45.08 ▲0.44 |
Dashboard /wp-admin | 3.47 ▲0.17 | 52.10 ▼1.61 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 47.45 ▼5.18 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 98.21 ▲3.21 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 44.18 ▲4.48 |
Testimonial Category /wp-admin/edit-tags.php?taxonomy=testimonials-category&post_type=testimonials | 3.39 | 37.29 |
Course Category /wp-admin/edit-tags.php?taxonomy=course-category&post_type=courses | 3.39 | 37.30 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.56 | 56.91 |
Department /wp-admin/edit-tags.php?taxonomy=team-department&post_type=teams | 3.39 | 42.54 |
Designation /wp-admin/edit-tags.php?taxonomy=team-designation&post_type=teams | 3.39 | 38.36 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 3.44 | 45.10 |
Education Connect Settings /wp-admin/options-general.php?page=education-connect-admin | 3.36 | 33.51 |
Add New /wp-admin/post-new.php?post_type=events | 3.54 | 57.66 |
Team Category /wp-admin/edit-tags.php?taxonomy=team-category&post_type=teams | 3.39 | 40.83 |
All Events /wp-admin/edit.php?post_type=events | 3.44 | 40.28 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
education_connect_setting_option |
Browser metrics Passed 4 tests
Education Connect: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,077 ▲316 | 13.59 ▼0.82 | 10.85 ▲8.83 | 45.10 ▲0.98 |
Dashboard /wp-admin | 2,358 ▲155 | 5.85 ▲0.97 | 104.07 ▼7.17 | 40.78 ▼0.13 |
Posts /wp-admin/edit.php | 2,240 ▲140 | 2.03 ▼0.02 | 38.55 ▲0.82 | 37.60 ▲2.99 |
Add New Post /wp-admin/post-new.php | 1,655 ▲129 | 23.35 ▲5.79 | 680.22 ▲16.93 | 68.17 ▲3.48 |
Media Library /wp-admin/upload.php | 1,543 ▲143 | 4.26 ▲0.09 | 115.74 ▲5.01 | 51.73 ▲2.85 |
Testimonial Category /wp-admin/edit-tags.php?taxonomy=testimonials-category&post_type=testimonials | 1,411 | 2.15 | 28.55 | 30.50 |
Course Category /wp-admin/edit-tags.php?taxonomy=course-category&post_type=courses | 1,417 | 2.15 | 27.93 | 32.18 |
Add New /wp-admin/post-new.php?post_type=testimonials | 2,733 | 7.78 | 200.73 | 65.72 |
Department /wp-admin/edit-tags.php?taxonomy=team-department&post_type=teams | 1,417 | 2.15 | 28.74 | 29.97 |
Designation /wp-admin/edit-tags.php?taxonomy=team-designation&post_type=teams | 1,417 | 2.15 | 32.37 | 33.89 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 1,263 | 2.09 | 36.50 | 34.93 |
Education Connect Settings /wp-admin/options-general.php?page=education-connect-admin | 999 | 2.07 | 26.68 | 30.99 |
Add New /wp-admin/post-new.php?post_type=events | 2,812 | 7.96 | 191.53 | 62.64 |
Team Category /wp-admin/edit-tags.php?taxonomy=team-category&post_type=teams | 1,414 | 2.15 | 31.43 | 33.46 |
All Events /wp-admin/edit.php?post_type=events | 1,263 | 2.01 | 36.86 | 34.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- education_connect_setting_option
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 17× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/education-connect/inc/template-parts/single-ec-courses.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/education-connect/inc/shortcodes/ec-shortcode-teams.php:157
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/education-connect/inc/shortcodes/ec-shortcode-testimonials.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/education-connect/inc/template-parts/single-ec-events.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/education-connect/inc/template-parts/archive-ec-courses.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/education-connect/inc/post-types/ec-teams.php:101
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/education-connect/inc/post-types/ec-courses.php:101
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/education-connect/inc/template-parts/archive-ec-teams.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/education-connect/inc/shortcodes/ec-shortcode-courses.php:162
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/education-connect/inc/template-parts/archive-ec-testimonials.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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
2 plugin tags: meta data, custom post type
education-connect/education-connect.php 92% from 13 tests
"Education Connect" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 268 characters long)
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 plugin3,829 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 285 | 320 | 1,765 |
CSS | 2 | 83 | 50 | 1,393 |
PO File | 1 | 177 | 185 | 405 |
JavaScript | 4 | 74 | 96 | 241 |
SVG | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin