Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▼2.04ms] Passed 4 tests
Analyzing server-side resources used by JP Students Result Management System
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 51.22 ▲10.28 |
Dashboard /wp-admin | 3.65 ▲0.35 | 54.98 ▲7.27 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 56.72 ▲4.24 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.29 | 85.27 ▼21.78 |
Media Library /wp-admin/upload.php | 3.49 ▲0.27 | 38.22 ▲2.13 |
Years /wp-admin/edit-tags.php?taxonomy=years&post_type=jp_students_result | 3.52 | 43.78 |
Classes /wp-admin/edit-tags.php?taxonomy=classes&post_type=jp_students_result | 3.52 | 39.66 |
Get Premium /wp-admin/edit.php?post_type=jp_students_result&page=jsrms_premium_features_page | 3.49 | 37.48 |
Shortcode /wp-admin/edit.php?post_type=jp_students_result&page=jsrms_shortcode_menu | 3.49 | 40.04 |
All Students Result /wp-admin/edit.php?post_type=jp_students_result | 3.57 | 44.70 |
Add New /wp-admin/post-new.php?post_type=jp_students_result | 3.95 | 57.35 |
Server storage [IO: ▲0.78MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for JP Students Result Management System
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,083 ▲337 | 14.95 ▲0.60 | 5.92 ▲4.27 | 42.91 ▲1.75 |
Dashboard /wp-admin | 2,375 ▲201 | 6.17 ▲0.60 | 114.92 ▲22.67 | 37.34 ▼4.40 |
Posts /wp-admin/edit.php | 2,306 ▲203 | 3.26 ▲1.23 | 56.33 ▲15.36 | 37.34 ▲0.24 |
Add New Post /wp-admin/post-new.php | 1,590 ▲59 | 23.56 ▲0.41 | 677.31 ▲30.23 | 35.61 ▼18.78 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.21 ▲0.08 | 84.90 ▼23.67 | 43.67 ▼1.96 |
Years /wp-admin/edit-tags.php?taxonomy=years&post_type=jp_students_result | 1,480 | 3.11 | 46.30 | 30.58 |
Classes /wp-admin/edit-tags.php?taxonomy=classes&post_type=jp_students_result | 1,483 | 3.05 | 47.28 | 31.19 |
Get Premium /wp-admin/edit.php?post_type=jp_students_result&page=jsrms_premium_features_page | 1,106 | 3.03 | 38.32 | 27.02 |
Shortcode /wp-admin/edit.php?post_type=jp_students_result&page=jsrms_shortcode_menu | 1,028 | 2.98 | 38.01 | 24.78 |
All Students Result /wp-admin/edit.php?post_type=jp_students_result | 1,295 | 3.24 | 48.75 | 26.76 |
Add New /wp-admin/post-new.php?post_type=jp_students_result | 2,138 | 4.85 | 92.69 | 42.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/jp-students-result-management-system/boxes/tests/phpunit/includes/bootstrap.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jp-students-result-management-system/boxes/functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/jp-students-result-management-system/boxes/init.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jp-students-result-management-system/boxes/functions.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/jp-students-result-management-system/boxes/tests/phpunit/tests/CMB_Core_Test.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: university, result, result management system, academic, student...
jp-students-result-management-system/index.php 85% from 13 tests
The principal PHP file in "JP Students Result Management System" v. 1.7 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 269 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("jp-students-result-management-system.php" instead of "index.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
Everything looks great! No dangerous files found in this plugin17,478 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 3,202 | 2,239 | 14,230 |
PHP | 10 | 620 | 1,081 | 2,257 |
CSS | 3 | 72 | 32 | 578 |
Markdown | 3 | 88 | 0 | 288 |
Bourne Shell | 1 | 15 | 4 | 59 |
JSON | 1 | 0 | 0 | 31 |
YAML | 1 | 5 | 0 | 18 |
XML | 1 | 0 | 1 | 17 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 57.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 3.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.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 | 134 | |
▷ Static methods | 34 | 25.37% |
▷ Public methods | 132 | 98.51% |
▷ Protected methods | 2 | 1.49% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
boxes/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
boxes/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
boxes/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
boxes/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
boxes/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |