Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.19ms] Passed 4 tests
This is a short check of server-side resources used by Tamil Thirukural
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.59 ▼7.80 |
Dashboard /wp-admin | 3.36 ▲0.02 | 48.74 ▼9.96 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 44.07 ▼1.16 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 84.67 ▼9.82 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.60 ▲3.00 |
Server storage [IO: ▲1.63MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_thirukural |
wp_thirukural_explanation |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_thirukural_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Tamil Thirukural
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.34 ▲0.06 | 1.88 ▼0.55 | 39.54 ▼11.06 |
Dashboard /wp-admin | 2,198 ▲18 | 5.70 ▲0.03 | 84.25 ▼3.81 | 37.35 ▲0.43 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.05 | 36.34 ▼4.62 | 32.24 ▼8.03 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.82 ▼0.34 | 593.25 ▼6.57 | 63.94 ▼16.77 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.15 ▼0.06 | 96.95 ▼3.77 | 41.74 ▼6.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_thirukural_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid url: ""
tamil-thirukural/Thirukural.php 85% from 13 tests
Analyzing the main PHP file in "Tamil Thirukural" version 4.0
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tamil-thirukural.php" instead of "Thirukural.php")
- Description: The description should be shorter than 140 characters (currently 254 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected232 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 48 | 55 | 212 |
CSS | 1 | 4 | 0 | 20 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 8.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
There were not PNG files found in your plugin