Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.93ms] Passed 4 tests
Analyzing server-side resources used by Mankutimmana Kagga
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.02 | 40.11 ▼0.40 |
Dashboard /wp-admin | 3.36 ▼0.02 | 47.45 ▼18.05 |
Posts /wp-admin/edit.php | 3.48 ▲0.08 | 48.43 ▼4.83 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.02 | 88.94 ▼12.45 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 37.97 ▲1.83 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_manku-timmana-kagga |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Mankutimmana Kagga: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.24 ▼0.36 | 1.87 ▲0.09 | 42.08 ▼0.33 |
Dashboard /wp-admin | 2,198 ▲21 | 5.57 ▼0.05 | 81.97 ▼13.10 | 41.22 ▼2.63 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▲0.02 | 35.33 ▼3.97 | 35.83 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,525 ▼3 | 23.17 ▲0.03 | 639.80 ▼37.45 | 56.97 ▼1.49 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.03 | 96.25 ▼12.13 | 42.59 ▼0.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- widget_manku-timmana-kagga
- theysaidso_admin_options
- db_upgraded
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
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/kagga/kagga.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Mankutimmana Kagga widget showing a random poem), #2 (Mankutimmana Kagga widget showing another random poem), #3 (Another Kagga), #4 (Mankutimmana Kagga in Appearance > Widgets), #5 (Mankutimmana Kagga when added to sidebar. You can change it's title.)
kagga/kagga.php 92% from 13 tests
The main PHP file in "Mankutimmana Kagga" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 175 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
Success! There were no dangerous files found in this plugin60 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 26 | 60 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 4 | |
▷ Named functions | 4 | 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
5 PNG files occupy 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 14.15KB | 5.07KB | ▼ 64.18% |
screenshot-2.png | 26.23KB | 8.88KB | ▼ 66.17% |
screenshot-3.png | 29.07KB | 9.88KB | ▼ 66.03% |
screenshot-5.png | 9.59KB | 3.51KB | ▼ 63.44% |
screenshot-1.png | 28.25KB | 9.59KB | ▼ 66.06% |