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.02MB] [CPU: ▼0.31ms] Passed 4 tests
A check of server-side resources used by Kannada Chanakya Neeti
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.65 ▼7.67 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.46 ▼4.13 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.68 ▲6.21 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 96.53 ▲12.16 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.18 ▲4.33 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_kannada-chanakya-neeti |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Kannada Chanakya Neeti: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 14.48 ▼0.11 | 1.58 ▼0.32 | 39.68 ▼5.34 |
Dashboard /wp-admin | 2,203 ▲18 | 5.88 ▲0.07 | 122.88 ▲1.63 | 42.58 ▼1.57 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 1.97 ▼0.02 | 42.62 ▲7.88 | 41.18 ▲5.95 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.44 ▲0.28 | 611.82 ▼97.12 | 58.08 ▲3.60 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.03 | 96.28 ▼13.72 | 44.72 ▼4.76 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_kannada-chanakya-neeti
- theysaidso_admin_options
- widget_recent-posts
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 items
- 1× 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/kannada-chankya-neeti/kcn.php:50
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #3 (Another Chanakya Neeti), #4 (Kannada Chanakya Neeti in Appearance > Widgets), #5 (Kannada Chanakya Neeti when added to sidebar. You can change it's title.)
kannada-chankya-neeti/kcn.php 85% from 13 tests
The main PHP script in "Kannada Chanakya Neeti" version 1.1 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 186 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("kannada-chankya-neeti.php" instead of "kcn.php")
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
Good job! No executable or dangerous file extensions detected67 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 28 | 63 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 16.47KB | 5.70KB | ▼ 65.42% |
screenshot-2.png | 23.88KB | 7.79KB | ▼ 67.36% |