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: ▲0.03MB] [CPU: ▲5.44ms] Passed 4 tests
An overview of server-side resources used by mamurjor student result
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 46.78 ▲6.48 |
Dashboard /wp-admin | 3.34 ▲0.03 | 52.15 ▲2.06 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 57.17 ▲10.07 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 102.68 ▲3.14 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 44.79 ▲12.27 |
student department /wp-admin/admin.php?page=studentdepartment | 3.22 | 39.19 |
student salary Print /wp-admin/admin.php?page=studentsalaryprint | 3.07 | 33.41 |
student salary /wp-admin/admin.php?page=studentsalary | 3.22 | 41.53 |
Last studenteducation Info /wp-admin/admin.php?page=studentedu | 3.22 | 37.89 |
Student Info /wp-admin/admin.php?page=student | 3.22 | 38.90 |
student section /wp-admin/admin.php?page=studentsection | 3.22 | 38.73 |
student fees /wp-admin/admin.php?page=studentfees | 3.22 | 37.49 |
Server storage [IO: ▲0.76MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 42 new files
Database: 7 new tables, 6 new options
New tables |
---|
wp_mamurjor_student_department |
wp_result |
wp_mamurjor_student_education |
wp_mamurjor_student_fees |
wp_mamurjor_student_info |
wp_student_monthly_salary |
wp_mamurjor_student_section |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
mamurjor student result: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,001 ▲244 | 13.56 ▼0.83 | 8.59 ▲6.55 | 43.12 ▼5.60 |
Dashboard /wp-admin | 2,299 ▲111 | 4.87 ▼1.04 | 108.48 ▼1.47 | 40.70 ▼2.99 |
Posts /wp-admin/edit.php | 2,182 ▲93 | 2.03 ▼0.01 | 38.70 ▼3.22 | 39.24 ▲3.58 |
Add New Post /wp-admin/post-new.php | 1,745 ▲207 | 22.64 ▲4.30 | 612.83 ▼8.31 | 41.13 ▼16.00 |
Media Library /wp-admin/upload.php | 1,481 ▲96 | 4.16 ▼0.02 | 97.41 ▼15.49 | 47.84 ▼1.22 |
student department /wp-admin/admin.php?page=studentdepartment | 912 | 2.06 | 24.92 | 29.80 |
student salary Print /wp-admin/admin.php?page=studentsalaryprint | 28 | 0.44 | 0.13 | 4.01 |
student salary /wp-admin/admin.php?page=studentsalary | 1,019 | 2.03 | 24.11 | 25.78 |
Last studenteducation Info /wp-admin/admin.php?page=studentedu | 933 | 2.04 | 23.64 | 29.32 |
Student Info /wp-admin/admin.php?page=student | 1,017 | 2.06 | 23.96 | 30.73 |
student section /wp-admin/admin.php?page=studentsection | 912 | 2.04 | 24.32 | 28.78 |
student fees /wp-admin/admin.php?page=studentfees | 924 | 2.06 | 23.97 | 29.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 7 tables in the database
- wp_mamurjor_student_education
- wp_mamurjor_student_department
- wp_mamurjor_student_info
- wp_mamurjor_student_fees
- wp_result
- wp_mamurjor_student_section
- wp_student_monthly_salary
- 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 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mamurjor-student-result/admin/partials/mamurjor_student_result-admin-display.php
- > /wp-content/plugins/mamurjor-student-result/public/partials/mamurjor_student_result-public-display.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=studentsalaryprint
- > Network (severe)
wp-admin/admin.php?page=studentsalaryprint - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 93% 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
3 plugin tags: student result, roll, class
mamurjor-student-result/mamurjor_student_result.php 85% from 13 tests
This is the main PHP file of "mamurjor student result" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("mamurjor-student-result.php" instead of "mamurjor_student_result.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
There were no executable files found in this plugin10,361 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1,271 | 5,940 | 5,310 |
CSS | 11 | 376 | 241 | 3,581 |
PHP | 19 | 712 | 574 | 1,470 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/details_open.png | 0.86KB | 0.80KB | ▼ 6.92% |