Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.87ms] Passed 4 tests
An overview of server-side resources used by Jine Optins Popups & Bars
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.98 ▼4.95 |
Dashboard /wp-admin | 3.32 ▼0.03 | 51.24 ▼15.77 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.75 ▲5.01 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.53 ▼8.66 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.56 ▼2.10 |
Server storage [IO: ▲3.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 226 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Jine Optins Popups & Bars
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲59 | 13.28 ▼1.41 | 4.33 ▲2.34 | 43.65 ▼0.15 |
Dashboard /wp-admin | 2,239 ▲36 | 5.93 ▲0.04 | 108.45 ▲5.26 | 71.83 ▲25.89 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.99 ▲0.01 | 41.09 ▲3.74 | 34.63 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 17.53 ▲0.03 | 683.27 ▲32.21 | 77.05 ▲27.26 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.24 ▼0.13 | 99.05 ▼10.58 | 68.51 ▲21.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/jine-optins-popups-bars/jine-optins-popups-bars.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jine-optins-popups-bars/wordpress/client-load.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jine-optins-popups-bars/wordpress/yetience_config.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jine-optins-popups-bars/wordpress/yetience-class.php:25
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jine-optins-popups-bars/wordpress/admin-load.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Tags: There are too many tags (26 tag instead of maximum 10)
jine-optins-popups-bars/jine-optins-popups-bars.php Passed 13 tests
The principal PHP file in "Jine Optins Popups & Bars" v. 0.0.1 is loaded by WordPress automatically on each request
56 characters long description:
Optin plugin that adds Exit popups and Bars on a website
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 detected35,471 lines of code in 178 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 103 | 3,867 | 16,869 | 20,711 |
CSS | 10 | 2,304 | 799 | 11,341 |
Markdown | 5 | 439 | 0 | 1,278 |
HTML | 37 | 164 | 521 | 950 |
JSON | 15 | 4 | 0 | 488 |
PHP | 6 | 156 | 118 | 410 |
SVG | 1 | 0 | 0 | 288 |
YAML | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 24 | |
▷ Static methods | 7 | 29.17% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.17% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
24 PNG files occupy 0.15MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin-interface/images/ypp_icon.png | 0.53KB | 0.42KB | ▼ 20.22% |
admin-interface/images/admin-icons/cross.png | 3.02KB | 0.44KB | ▼ 85.44% |
common/images/social-icons/round/pinterest.png | 5.59KB | 2.98KB | ▼ 46.59% |
admin-interface/images/question.png | 0.53KB | 0.43KB | ▼ 18.53% |
common/images/social-icons/round/linkedin.png | 5.45KB | 2.61KB | ▼ 52.14% |