Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.63MB] [CPU: ▼0.03ms] Passed 4 tests
An overview of server-side resources used by JP Students Exam Admit Card Generator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.67 | 42.16 ▼0.58 |
Dashboard /wp-admin | 3.97 ▲0.67 | 57.43 ▲6.31 |
Posts /wp-admin/edit.php | 4.03 ▲0.67 | 54.80 ▼1.39 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.60 | 96.51 ▼4.48 |
Media Library /wp-admin/upload.php | 3.81 ▲0.58 | 45.40 ▲11.47 |
All Admit Card /wp-admin/edit.php?post_type=jseacg_p | 3.95 | 48.55 |
Exam /wp-admin/edit-tags.php?taxonomy=jseacgExam&post_type=jseacg_p | 3.90 | 42.17 |
Shortcodes /wp-admin/edit.php?post_type=jseacg_p&page=jseacgp_shortcode_active_page | 3.81 | 40.05 |
Year /wp-admin/edit-tags.php?taxonomy=jseacgYear&post_type=jseacg_p | 3.90 | 46.98 |
Add New /wp-admin/post-new.php?post_type=jseacg_p | 4.25 | 56.22 |
Server storage [IO: ▲1.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 86 new files
Database: no new tables, 42 new options
New WordPress options |
---|
jseacgp_f16 |
jseacgp_f11 |
jseacgp_institle |
jseacgp_f13 |
db_upgraded |
jseacgp_ename |
jseacgp_sname |
jseacgp_insfc |
widget_theysaidso_widget |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Checking browser requirements for JP Students Exam Admit Card Generator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,079 ▲318 | 15.22 ▲1.28 | 6.20 ▲4.22 | 38.24 ▼10.05 |
Dashboard /wp-admin | 2,371 ▲194 | 6.13 ▲0.49 | 106.17 ▲16.70 | 34.92 ▼6.39 |
Posts /wp-admin/edit.php | 2,302 ▲202 | 3.35 ▲1.37 | 53.81 ▲15.01 | 39.88 ▲3.57 |
Add New Post /wp-admin/post-new.php | 1,587 ▲60 | 23.53 ▲0.64 | 709.88 ▲101.89 | 36.23 ▼13.98 |
Media Library /wp-admin/upload.php | 1,439 ▲36 | 4.11 ▼0.13 | 93.71 ▼12.17 | 48.14 ▲1.33 |
All Admit Card /wp-admin/edit.php?post_type=jseacg_p | 1,294 | 3.33 | 62.50 | 31.95 |
Exam /wp-admin/edit-tags.php?taxonomy=jseacgExam&post_type=jseacg_p | 1,476 | 3.09 | 41.25 | 29.41 |
Shortcodes /wp-admin/edit.php?post_type=jseacg_p&page=jseacgp_shortcode_active_page | 1,010 | 3.00 | 37.20 | 25.07 |
Year /wp-admin/edit-tags.php?taxonomy=jseacgYear&post_type=jseacg_p | 1,473 | 3.10 | 40.09 | 29.60 |
Add New /wp-admin/post-new.php?post_type=jseacg_p | 2,131 | 4.77 | 97.02 | 38.77 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 42 options
- jseacgp_f11
- jseacgp_ename
- jseacgp_ajEMessage
- jseacgp_ajPMessage
- can_compress_scripts
- jseacgp_eclass
- jseacgp_f6
- jseacgp_f13
- widget_recent-posts
- widget_recent-comments
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jp-students-exam-admit-card-generator/includes/boxes/functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/jp-students-exam-admit-card-generator/includes/install_db.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jp-students-exam-admit-card-generator/jp-students-exam-admit-card-generator.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jp-students-exam-admit-card-generator/includes/shortcodes.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/jp-students-exam-admit-card-generator/includes/class-pdf-download-form.php:99
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/jp-students-exam-admit-card-generator/includes/boxes/init.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jp-students-exam-admit-card-generator/includes/lib/custom-post-and-tax.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: student exam admit card, online exam admit card, exam admit card, admit card generator plugin, exam admit card plugin...
jp-students-exam-admit-card-generator/jp-students-exam-admit-card-generator.php 92% from 13 tests
The main PHP file in "JP Students Exam Admit Card Generator" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 316 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin20,065 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 3,231 | 2,217 | 14,253 |
PHP | 34 | 817 | 1,270 | 5,136 |
CSS | 4 | 90 | 24 | 676 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 77.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 339.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 264 | |
▷ Static methods | 34 | 12.88% |
▷ Public methods | 224 | 84.85% |
▷ Protected methods | 40 | 15.15% |
▷ Private methods | 0 | 0.00% |
Functions | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.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
16 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/blank-signature.png | 1.04KB | 0.09KB | ▼ 90.85% |
includes/boxes/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/boxes/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/boxes/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/boxes/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |