Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼136.76ms] Passed 4 tests
Analyzing server-side resources used by Minigal Nano WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.97 ▲0.25 | 41.20 ▲18.20 |
Dashboard /wp-admin | 3.20 ▲0.14 | 56.30 ▲10.85 |
Posts /wp-admin/edit.php | 3.31 ▲0.20 | 50.11 ▲4.10 |
Add New Post /wp-admin/post-new.php | 5.55 ▲0.12 | 96.75 ▼561.41 |
Media Library /wp-admin/upload.php | 3.14 ▲0.14 | 34.63 ▼0.59 |
Minigal Nano WP /wp-admin/options-general.php?page=minigal_nano_wp_option_page | 3.20 | 45.59 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 65 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Minigal Nano WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,922 ▲326 | 17.86 ▲2.30 | 28.91 ▲20.48 | 50.29 ▼1.14 |
Dashboard /wp-admin | 2,972 ▲38 | 6.11 ▼0.00 | 142.23 ▼5.37 | 111.20 ▼6.81 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.68 ▼0.00 | 66.31 ▼3.89 | 82.05 ▼12.85 |
Add New Post /wp-admin/post-new.php | 1,686 ▲188 | 18.78 ▼0.03 | 395.69 ▲8.65 | 114.76 ▼3.14 |
Media Library /wp-admin/upload.php | 1,812 ▲8 | 5.02 ▲0.02 | 157.47 ▼0.58 | 125.06 ▲1.51 |
Minigal Nano WP /wp-admin/options-general.php?page=minigal_nano_wp_option_page | 1,417 | 2.09 | 60.52 | 92.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/minigal-nano-wp/public/createthumb.php
- > /wp-content/plugins/minigal-nano-wp/public/partials/plugin-minigal-nano-wp-display.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/minigal-nano-wp/admin/partials/about/about.php:3
- > PHP Notice
Undefined index: upload_dir in wp-content/plugins/minigal-nano-wp/public/createthumb.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/minigal-nano-wp/admin/partials/basic/customize-settings-display.php:3
- > PHP Notice
Undefined index: filename in wp-content/plugins/minigal-nano-wp/public/createthumb.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/minigal-nano-wp/admin/partials/admin-display.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/minigal-nano-wp/admin/partials/advanced/advanced-customize-settings-display.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/minigal-nano-wp/admin/partials/help/help.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #2, #3, #4 in minigal-nano-wp/assets to your readme.txt
minigal-nano-wp/minigal-nano-wp.php 92% from 13 tests
"Minigal Nano WP" version 0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: A good plugin description is longer than 10 characters (currently 0 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected3,898 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 86 | 209 | 1,674 |
PHP | 17 | 297 | 705 | 1,038 |
HTML | 5 | 16 | 1 | 791 |
CSS | 4 | 51 | 34 | 236 |
PO File | 1 | 55 | 61 | 159 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 14.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 34 | 87.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.82% |
Functions | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
18 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/filetype_PPTX.png | 8.95KB | 7.41KB | ▼ 17.27% |
public/images/filetype_AUDIO.png | 6.92KB | 3.75KB | ▼ 45.85% |
public/images/filetype_RAR.png | 10.22KB | 8.59KB | ▼ 15.99% |
public/images/folder_green.png | 4.35KB | 3.39KB | ▼ 22.07% |
public/images/close.png | 0.41KB | 0.42KB | 0.00% |