Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.85MB] [CPU: ▲2.44ms] Passed 4 tests
This is a short check of server-side resources used by Educare - Students & Result Management System
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.83 | 46.77 ▲8.15 |
Dashboard /wp-admin | 4.15 ▲0.85 | 57.84 ▲10.11 |
Posts /wp-admin/edit.php | 4.27 ▲0.91 | 54.28 ▲0.42 |
Add New Post /wp-admin/post-new.php | 6.75 ▲0.86 | 87.45 ▼8.92 |
Media Library /wp-admin/upload.php | 4.08 ▲0.85 | 47.24 ▲10.58 |
About Us /wp-admin/admin.php?page=educare-about-us | 4.08 | 47.47 |
Settings /wp-admin/admin.php?page=educare-settings | 4.08 | 58.64 |
All Students /wp-admin/admin.php?page=educare-all-students | 4.08 | 57.64 |
Performance /wp-admin/admin.php?page=educare-performance | 4.06 | 43.90 |
All Results /wp-admin/admin.php?page=educare-all-results | 4.08 | 52.87 |
Mark Sheed /wp-admin/admin.php?page=educare-mark-sheed | 4.08 | 53.47 |
Management /wp-admin/admin.php?page=educare-management | 4.08 | 47.09 |
Server storage [IO: ▲0.55MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 39 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_educare_results |
wp_educare_marks |
wp_educare_settings |
wp_educare_students |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Educare - Students & Result Management System
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲185 | 14.61 ▲0.33 | 19.21 ▲17.01 | 41.42 ▲1.57 |
Dashboard /wp-admin | 2,263 ▲89 | 5.62 ▼0.03 | 89.86 ▼10.67 | 42.18 ▲1.60 |
Posts /wp-admin/edit.php | 2,168 ▲65 | 2.05 ▲0.09 | 37.40 ▼2.38 | 34.96 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,574 ▲48 | 18.19 ▼4.83 | 673.77 ▲7.18 | 71.11 ▲15.13 |
Media Library /wp-admin/upload.php | 1,465 ▲68 | 4.20 ▲0.03 | 98.07 ▼7.70 | 43.73 ▼2.14 |
About Us /wp-admin/admin.php?page=educare-about-us | 1,808 | 3.14 | 50.15 | 75.31 |
Settings /wp-admin/admin.php?page=educare-settings | 1,967 | 3.47 | 45.38 | 53.45 |
All Students /wp-admin/admin.php?page=educare-all-students | 1,689 | 3.27 | 47.72 | 41.41 |
Performance /wp-admin/admin.php?page=educare-performance | 1,621 | 3.31 | 44.73 | 59.29 |
All Results /wp-admin/admin.php?page=educare-all-results | 1,691 | 3.26 | 46.57 | 28.78 |
Mark Sheed /wp-admin/admin.php?page=educare-mark-sheed | 1,554 | 3.32 | 41.65 | 56.32 |
Management /wp-admin/admin.php?page=educare-management | 1,609 | 3.53 | 43.49 | 69.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=educare-performance
- > Notice in wp-content/plugins/educare/includes/functions.php+7023
Undefined variable: Class
- > GET request to /wp-admin/admin.php?page=educare-performance
- > Notice in wp-content/plugins/educare/includes/functions.php+7027
Undefined variable: Year
- > GET request to /wp-admin/admin.php?page=educare-performance
- > Notice in wp-content/plugins/educare/includes/functions.php+7032
Undefined variable: Group
- > GET request to /wp-admin/admin.php?page=educare-performance
- > Notice in wp-content/plugins/educare/includes/functions.php+7045
Undefined variable: Promoted_Class
- > GET request to /wp-admin/admin.php?page=educare-performance
- > Notice in wp-content/plugins/educare/includes/functions.php+7050
Undefined variable: Promoted_Year
- > GET request to /wp-admin/admin.php?page=educare-performance
- > Notice in wp-content/plugins/educare/includes/functions.php+7055
Undefined variable: Promoted_Group
- > GET request to /wp-admin/admin.php?page=educare-performance
- > Notice in wp-content/plugins/educare/includes/functions.php+7061
Undefined variable: Promoted_Exam
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'EDUCARE_INCdatabase/default-settings.php' (include_path='.:/usr/share/php') in wp-content/plugins/educare/includes/database/educare-database.php on line 3
- > PHP Warning
require_once(EDUCARE_INCdatabase/default-settings.php): failed to open stream: No such file or directory in wp-content/plugins/educare/includes/database/educare-database.php on line 3
- > PHP Warning
Use of undefined constant EDUCARE_INC - assumed 'EDUCARE_INC' (this will throw an Error in a future version of PHP) in wp-content/plugins/educare/includes/database/educare-database.php on line 3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=educare-management
- > Javascript (severe) in unknown
/wp-content/plugins/educare/assets/js/educare.js?ver=1.0 1052:53 Uncaught TypeError: Cannot read properties of null (reading 'value')
- > GET request to /wp-admin/admin.php?page=educare-mark-sheed
- > Javascript (severe) in unknown
/wp-content/plugins/educare/assets/js/paginate.js?ver=6.3.1 162:22 Uncaught Error: Element .view_results no exits
Optimizations
Plugin configuration 86% 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 require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
educare/Educare.php 77% from 13 tests
The primary PHP file in "Educare - Students & Result Management System" version 1.4.7 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: The description should be shorter than 140 characters (currently 434 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("educare.php" instead of "Educare.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin8,566 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 1,594 | 2,101 | 5,454 |
CSS | 3 | 169 | 77 | 1,441 |
JavaScript | 4 | 201 | 272 | 1,244 |
SVG | 8 | 17 | 2 | 278 |
Markdown | 1 | 58 | 0 | 149 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 90 | |
▷ Named functions | 89 | 98.89% |
▷ Anonymous functions | 1 | 1.11% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin