Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.10ms] Passed 4 tests
This is a short check of server-side resources used by Online Marksheet Creator : eMarksheet
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.89 ▼5.71 |
Dashboard /wp-admin | 3.34 ▲0.03 | 52.99 ▼3.01 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.74 ▼4.46 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 98.05 ▼7.21 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.06 ▼1.46 |
Settings /wp-admin/admin.php?page=eMarksheet-settings | 3.23 | 35.98 |
Students List /wp-admin/admin.php?page=eMarksheet-student-list | 3.27 | 33.71 |
Add Subject /wp-admin/admin.php?page=eMarksheet-subject | 3.27 | 35.75 |
Help & Support /wp-admin/admin.php?page=eMarksheet-help | 3.23 | 30.16 |
Print Marksheet /wp-admin/admin.php?page=eMarksheet-print | 3.27 | 35.83 |
Add Marks /wp-admin/admin.php?page=eMarksheet-add-marks | 3.24 | 33.72 |
Un-Install /wp-admin/admin.php?page=eMarksheet-remove | 3.23 | 35.89 |
Add Class /wp-admin/admin.php?page=eMarksheet-main | 3.24 | 31.89 |
Enroll Student /wp-admin/admin.php?page=eMarksheet-student | 3.23 | 32.46 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 36 new files
Database: 5 new tables, 6 new options
New tables |
---|
emarksheet_class |
emarksheet_marks |
emarksheet_student |
emarksheet_setting |
emarksheet_subject |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Online Marksheet Creator : eMarksheet
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲108 | 14.76 ▲0.45 | 1.97 ▲0.02 | 44.78 ▲1.16 |
Dashboard /wp-admin | 2,250 ▲76 | 5.61 ▲0.04 | 83.70 ▼21.26 | 39.54 ▼3.18 |
Posts /wp-admin/edit.php | 2,158 ▲55 | 1.96 ▼0.02 | 35.23 ▼4.84 | 34.02 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,569 ▲34 | 23.13 ▲4.90 | 627.13 ▼44.01 | 52.45 ▼15.57 |
Media Library /wp-admin/upload.php | 1,455 ▲52 | 4.16 ▼0.03 | 102.71 ▲0.56 | 46.49 ▲3.86 |
Settings /wp-admin/admin.php?page=eMarksheet-settings | 954 | 2.12 | 18.55 | 49.85 |
Students List /wp-admin/admin.php?page=eMarksheet-student-list | 906 | 2.09 | 17.43 | 26.21 |
Add Subject /wp-admin/admin.php?page=eMarksheet-subject | 911 | 1.81 | 18.02 | 27.88 |
Help & Support /wp-admin/admin.php?page=eMarksheet-help | 892 | 1.99 | 22.40 | 37.67 |
Print Marksheet /wp-admin/admin.php?page=eMarksheet-print | 909 | 1.76 | 17.53 | 25.61 |
Add Marks /wp-admin/admin.php?page=eMarksheet-add-marks | 900 | 1.94 | 17.61 | 27.21 |
Un-Install /wp-admin/admin.php?page=eMarksheet-remove | 830 | 2.00 | 24.37 | 26.63 |
Add Class /wp-admin/admin.php?page=eMarksheet-main | 959 | 1.78 | 17.38 | 27.73 |
Enroll Student /wp-admin/admin.php?page=eMarksheet-student | 1,218 | 1.94 | 16.71 | 25.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall successfully, leaving 5 tables in the database
- emarksheet_subject
- emarksheet_student
- emarksheet_marks
- emarksheet_setting
- emarksheet_class
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=eMarksheet-main
- > Notice in wp-content/plugins/emarksheet/menu-pages/emark_add_class.php+45
Undefined index: action
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
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/emarksheet/menu-pages/help.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/emarksheet/menu-pages/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function query() on null in wp-content/plugins/emarksheet/install-script.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/emarksheet/menu-pages/emark_add_class.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/emarksheet/emarksheet.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/emarksheet/menu-pages/emark_add_student_list.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/emarksheet/menu-pages/print.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/emarksheet/menu-pages/emark_add_marks.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/emarksheet/menu-pages/emark_add_sub.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/emarksheet/menu-pages/emark_add_student.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=eMarksheet-student
- > Javascript (severe) in unknown
/wp-admin/js/common.min.js?ver=6.3.1 1:6139 Uncaught TypeError: W(...).on is not a function
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=eMarksheet-student
- > Javascript (severe) in unknown
/wp-includes/js/heartbeat.min.js?ver=6.3.1 1:5086 Uncaught TypeError: i.on is not a function
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=eMarksheet-student
- > Javascript (severe) in unknown
/wp-includes/js/wp-auth-check.min.js?ver=6.3.1 1:502 Uncaught TypeError: i(...).on is not a function
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=eMarksheet-student
- > Javascript (severe) in unknown
/wp-admin/js/common.min.js?ver=6.3.1 1:3796 Uncaught TypeError: W(...).on is not a function
- > GET request to /wp-admin/admin.php?page=eMarksheet-help
- > Network (severe)
wp-content/plugins/emarksheet/menu-pages/bootstrap/css/bootstrap-responsive.css - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Add Class), #2 (Add Subject), #3 (Add Student), #4 (Add Marks 1), #5 (Add Marks 2), #6 (Setting for the school), #7 (Print Marksheet1), #8 (Print Marksheet2), #9 (Frontend Result)
emarksheet/emarksheet.php 92% from 13 tests
"Online Marksheet Creator : eMarksheet" version 4.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 161 characters long)
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
Everything looks great! No dangerous files found in this plugin7,003 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 896 | 48 | 4,710 |
JavaScript | 3 | 478 | 320 | 1,254 |
PHP | 11 | 38 | 11 | 1,039 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
11 PNG files occupy 0.30MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-8.png | 42.22KB | 17.74KB | ▼ 57.97% |
screenshot-2.png | 30.34KB | 11.75KB | ▼ 61.26% |
screenshot-4.png | 25.34KB | 10.35KB | ▼ 59.17% |
screenshot-9.png | 59.23KB | 22.70KB | ▼ 61.67% |
screenshot-6.png | 32.59KB | 12.85KB | ▼ 60.58% |