Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼291.80ms] Passed 4 tests
Analyzing server-side resources used by Sayonara - Advanced Popup Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.27 | 57.41 ▲5.81 |
Dashboard /wp-admin | 3.61 ▲0.21 | 59.90 ▲25.85 |
Posts /wp-admin/edit.php | 3.84 ▲0.20 | 39.67 ▲3.12 |
Add New Post /wp-admin/post-new.php | 7.08 ▲0.11 | 101.41 ▼1,176.33 |
Media Library /wp-admin/upload.php | 3.56 ▲0.26 | 24.96 ▲0.20 |
All Sayonaras /wp-admin/edit.php?post_type=sayonara | 3.61 | 28.25 |
Add New /wp-admin/post-new.php?post_type=sayonara | 3.85 | 46.61 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Sayonara - Advanced Popup Builder: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,957 ▲203 | 16.27 ▲0.31 | 11.13 ▲5.11 | 18.54 ▲15.83 |
Dashboard /wp-admin | 2,940 ▲79 | 6.11 ▼0.06 | 122.61 ▼11.94 | 166.69 ▲3.64 |
Posts /wp-admin/edit.php | 2,739 ▲48 | 3.38 ▲0.14 | 64.36 ▼1.33 | 171.43 ▲23.95 |
Add New Post /wp-admin/post-new.php | 1,684 ▼74 | 15.92 ▼6.38 | 420.79 ▼34.27 | 160.39 ▲12.13 |
Media Library /wp-admin/upload.php | 1,750 ▲52 | 5.52 ▲0.03 | 142.25 ▲0.84 | 185.60 ▲0.66 |
All Sayonaras /wp-admin/edit.php?post_type=sayonara | 1,479 | 3.73 | 78.37 | 157.69 |
Add New /wp-admin/post-new.php?post_type=sayonara | 4,132 | 10.49 | 246.13 | 206.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
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)
Everything seems fine, however this is by no means an exhaustive test
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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/sayonara/admin/partials/sayonara-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6 in sayonara/assets to your readme.txt
sayonara/sayonara.php Passed 13 tests
The principal PHP file in "Sayonara - Advanced Popup Builder" v. 1.0.1 is loaded by WordPress automatically on each request
68 characters long description:
Finally. An advanced popup that doesn't need a monthly subscription!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,427 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 241 | 621 | 961 |
Sass | 2 | 76 | 19 | 252 |
JavaScript | 3 | 47 | 4 | 211 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 17.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 4.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 38 | 88.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.63% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/sayonara.png | 39.78KB | 15.91KB | ▼ 60.00% |