Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲5.05MB] [CPU: ▲25.01ms] 75% from 4 tests
An overview of server-side resources used by Pretty Simple Popup Builder
Please fix the following
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.05MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.88 ▲5.42 | 66.80 ▲24.04 |
Dashboard /wp-admin | 8.90 ▲5.60 | 77.05 ▲29.02 |
Posts /wp-admin/edit.php | 8.90 ▲5.55 | 83.82 ▲39.19 |
Add New Post /wp-admin/post-new.php | 9.54 ▲3.65 | 107.17 ▲14.70 |
Media Library /wp-admin/upload.php | 8.90 ▲5.68 | 65.10 ▲32.28 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.90 | 63.04 |
Server storage [IO: ▲3.66MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 196 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_accounts |
fs_debug_mode |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
_psp_always_verify |
can_compress_scripts |
fs_active_plugins |
Browser metrics Passed 4 tests
Checking browser requirements for Pretty Simple Popup Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲203 | 14.71 ▲0.32 | 1.74 ▼0.31 | 32.85 ▼11.98 |
Dashboard /wp-admin | 2,377 ▲189 | 6.41 ▲0.62 | 125.33 ▲10.59 | 41.84 ▼4.14 |
Posts /wp-admin/edit.php | 2,280 ▲191 | 3.36 ▲1.36 | 47.34 ▲12.69 | 35.86 ▼0.94 |
Add New Post /wp-admin/post-new.php | 1,370 ▼149 | 16.46 ▼6.61 | 515.40 ▼143.06 | 29.58 ▼27.36 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.16 ▼0.03 | 81.25 ▼27.59 | 43.96 ▼2.87 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,268 | 3.28 | 37.42 | 26.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/pretty-simple-popup-builder/includes/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 10 options in the database
- fs_active_plugins
- fs_debug_mode
- _psp_always_verify
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- fs_accounts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: popup builder, marketing, popups, popup, popup maker
pretty-simple-popup-builder/pretty-simple-popup-builder.php 85% from 13 tests
"Pretty Simple Popup Builder" version 1.0.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin35,797 lines of code in 145 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 123 | 8,173 | 17,963 | 34,386 |
CSS | 16 | 107 | 0 | 619 |
JavaScript | 5 | 69 | 172 | 578 |
Markdown | 1 | 68 | 0 | 214 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
The following items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 90.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 2 | 4.00% |
▷ Concrete classes | 48 | 96.00% |
▷ Final classes | 2 | 4.17% |
Methods | 1,288 | |
▷ Static methods | 200 | 15.53% |
▷ Public methods | 896 | 69.57% |
▷ Protected methods | 17 | 1.32% |
▷ Private methods | 375 | 29.11% |
Functions | 171 | |
▷ Named functions | 170 | 99.42% |
▷ Anonymous functions | 1 | 0.58% |
Constants | 148 | |
▷ Global constants | 100 | 67.57% |
▷ Class constants | 48 | 32.43% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
includes/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
includes/images/5StarPlugins_Logo80x80.png | 2.08KB | 1.07KB | ▼ 48.52% |