Benchmarks
Plugin footprint Passed 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.05MB] [CPU: ▼145.55ms] Passed 4 tests
Server-side resources used by Mini PopUp
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 37.79 ▲18.04 |
Dashboard /wp-admin | 3.11 ▲0.05 | 51.28 ▲0.44 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 46.52 ▼0.44 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.03 | 93.04 ▼573.26 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 30.36 ▼8.92 |
Mini PopUp /wp-admin/options-general.php?page=mini-popup | 3.02 | 31.96 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
c2_minipopup |
minipopup_style |
minipopup_smart_mode |
c4_minipopup |
c3_minipopup |
c1_minipopup |
Browser metrics Passed 4 tests
A check of browser resources used by Mini PopUp
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,712 ▲116 | 16.12 ▲0.54 | 8.11 ▼2.26 | 47.82 ▲0.51 |
Dashboard /wp-admin | 3,000 ▲66 | 6.52 ▲0.60 | 145.07 ▲0.57 | 123.21 ▲1.77 |
Posts /wp-admin/edit.php | 2,775 ▲36 | 3.01 ▲0.32 | 69.20 ▼7.65 | 127.89 ▲30.09 |
Add New Post /wp-admin/post-new.php | 1,704 ▲100 | 15.31 ▼3.54 | 393.12 ▲5.16 | 113.44 ▼1.73 |
Media Library /wp-admin/upload.php | 1,840 ▲30 | 5.43 ▲0.40 | 136.92 ▼33.19 | 131.24 ▲5.29 |
Mini PopUp /wp-admin/options-general.php?page=mini-popup | 1,527 | 2.91 | 78.62 | 96.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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/mini-popup/mini-popup.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Mini PopUp working.), #2 (The Mini Popup settings page.)
mini-popup/mini-popup.php Passed 13 tests
The main PHP file in "Mini PopUp" ver. 1.2.3 adds more information about the plugin and also serves as the entry point for this plugin
56 characters long description:
Shows a popup to share your fanpage in your blog easily.
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
Everything looks great! No dangerous files found in this plugin420 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 24 | 218 |
PO File | 2 | 62 | 148 | 162 |
JavaScript | 2 | 10 | 58 | 29 |
CSS | 1 | 0 | 0 | 11 |
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.18 |
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 | 14 | |
▷ Named functions | 14 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fanclose.png | 5.65KB | 2.00KB | ▼ 64.59% |
images/bg.png | 0.09KB | 0.09KB | 0.00% |