Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼5.57ms] Passed 4 tests
Server-side resources used by Saksh Course System
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 37.73 ▼5.00 |
Dashboard /wp-admin | 3.44 ▲0.10 | 45.19 ▼14.19 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 46.26 ▲3.08 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 95.68 ▲0.12 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 34.15 ▼3.22 |
Languages /wp-admin/edit-tags.php?taxonomy=languages&post_type=courses | 3.36 | 32.71 |
All Courses /wp-admin/edit.php?post_type=courses | 3.41 | 36.86 |
Subjects /wp-admin/edit-tags.php?taxonomy=subjects&post_type=courses | 3.36 | 32.89 |
Add New /wp-admin/post-new.php?post_type=courses | 3.56 | 60.34 |
Exams /wp-admin/edit-tags.php?taxonomy=exams&post_type=courses | 3.36 | 31.20 |
Tags /wp-admin/edit-tags.php?taxonomy=tags&post_type=courses | 3.36 | 30.85 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Saksh Course System
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲125 | 13.70 ▼0.65 | 1.87 ▲0.11 | 39.25 ▼4.00 |
Dashboard /wp-admin | 2,252 ▲64 | 5.88 ▲0.99 | 93.96 ▼22.49 | 38.70 ▼3.84 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 1.99 ▼0.01 | 39.16 ▼3.80 | 37.01 ▲1.12 |
Add New Post /wp-admin/post-new.php | 1,563 ▲19 | 18.36 ▲0.07 | 609.41 ▼51.59 | 62.04 ▲1.84 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.22 ▲0.01 | 97.09 ▼16.83 | 42.76 ▼8.77 |
Languages /wp-admin/edit-tags.php?taxonomy=languages&post_type=courses | 1,305 | 2.14 | 25.92 | 29.08 |
All Courses /wp-admin/edit.php?post_type=courses | 1,179 | 1.94 | 31.41 | 30.34 |
Subjects /wp-admin/edit-tags.php?taxonomy=subjects&post_type=courses | 1,305 | 2.13 | 26.26 | 27.13 |
Add New /wp-admin/post-new.php?post_type=courses | 4,197 | 11.63 | 334.34 | 97.46 |
Exams /wp-admin/edit-tags.php?taxonomy=exams&post_type=courses | 1,302 | 2.14 | 26.24 | 25.46 |
Tags /wp-admin/edit-tags.php?taxonomy=tags&post_type=courses | 1,305 | 2.13 | 26.36 | 24.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/saksh-course-system/index.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/saksh-course-system/aistore_course_system_template.php:12
- > 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 uses markdown syntax to describe your plugin to the world
1 plugin tags: course system
saksh-course-system/index.php 85% from 13 tests
The principal PHP file in "Saksh Course System" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 183 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("saksh-course-system.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected560 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 248 | 57 | 560 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 19 | |
▷ Named functions | 19 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected