Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/saksh-private-ielts-preparation/index.php+182
Undefined variable: jal_db_version
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.53ms] Passed 4 tests
An overview of server-side resources used by Saksh private IELTS preparation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.20 ▼6.43 |
Dashboard /wp-admin | 3.31 ▼0.04 | 54.14 ▼10.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.40 ▲3.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.60 ▼18.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.90 ▲1.33 |
Server storage [IO: ▲1.01MB] [DB: ▲0.96MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_exercise |
New WordPress options |
---|
jal_db_version |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Saksh private IELTS preparation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.15 ▼1.16 | 2.04 ▲0.10 | 45.33 ▲2.71 |
Dashboard /wp-admin | 2,221 ▲18 | 4.87 ▼1.01 | 105.81 ▲2.00 | 41.09 ▼2.60 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.05 ▼0.00 | 36.39 ▼5.49 | 36.03 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.18 ▲0.19 | 696.68 ▼2.49 | 63.17 ▲8.08 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.29 ▲0.07 | 98.61 ▼8.68 | 43.55 ▼3.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.96MB] 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
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_exercise
- This plugin does not fully uninstall, leaving 7 options in the database
- jal_db_version
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- 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
Even though no errors were found, 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/saksh-private-ielts-preparation/index.php:143
- > 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)
Everything seems fine, but this is not an exhaustive test
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
4 plugin tags: ielts test, ielts, exam software, private ielts study
saksh-private-ielts-preparation/index.php 92% from 13 tests
The main PHP script in "Saksh private IELTS preparation" version 1.1.1 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("saksh-private-ielts-preparation.php" instead of "index.php")
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
No dangerous file extensions were detected3,227 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 83 | 10 | 3,227 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected