Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼8.80ms] Passed 4 tests
This is a short check of server-side resources used by Aspexi Sweet Popups
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 38.11 ▼0.35 |
Dashboard /wp-admin | 3.44 ▲0.09 | 45.83 ▼18.93 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.42 ▼3.05 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 92.96 ▼11.12 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.90 ▼2.10 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
aspexisweetpopups_options |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Aspexi Sweet Popups
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.42 ▼0.35 | 1.77 ▼0.11 | 41.41 ▼0.89 |
Dashboard /wp-admin | 2,210 ▲18 | 5.85 ▲0.90 | 107.60 ▲1.85 | 43.48 ▼0.69 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.00 | 39.46 ▼1.47 | 37.45 ▲1.43 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 18.57 ▲0.49 | 588.52 ▼43.64 | 52.41 ▼10.96 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.02 | 95.73 ▼3.74 | 41.49 ▼1.40 |
Aspexi Sweet Popups /wp-admin/aspexi-sweet-popups.php | 26 | 0.44 | 0.11 | 13.93 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/aspexi-sweet-popups.php
- > Network (severe)
wp-admin/aspexi-sweet-popups.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
aspexi-sweet-popups/aspexi-sweet-popups.php 92% from 13 tests
The entry point to "Aspexi Sweet Popups" version 1.1.3 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 167 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected2,291 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 102 | 21 | 1,392 |
PHP | 1 | 90 | 23 | 631 |
PO File | 1 | 81 | 93 | 182 |
JavaScript | 3 | 17 | 17 | 86 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 64.00 |
▷ Minimum class complexity | 64.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 4.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.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 | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
16 PNG files occupy 1.56MB with 1.50MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/theme_none.png | 306.59KB | 3.96KB | ▼ 98.71% |
images/warning.png | 21.64KB | 2.09KB | ▼ 90.34% |
images/like_button_layout_standard.png | 52.88KB | 2.21KB | ▼ 95.82% |
images/theme_twitter.png | 306.59KB | 3.22KB | ▼ 98.95% |
images/like_button_layout_button.png | 52.88KB | 1.19KB | ▼ 97.74% |