Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.12ms] Passed 4 tests
A check of server-side resources used by Really Simple Popup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.51 ▼0.17 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.88 ▼0.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.56 ▲1.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.16 ▼17.64 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.29 ▲2.41 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Really Simple Popup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲137 | 13.58 ▼0.80 | 10.01 ▲8.30 | 43.93 ▼2.54 |
Dashboard /wp-admin | 2,209 ▲18 | 4.85 ▼0.05 | 113.23 ▲1.46 | 41.76 ▲0.83 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.04 | 40.11 ▲1.92 | 34.71 ▼3.36 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.72 ▼5.46 | 662.98 ▲1.90 | 67.72 ▲3.93 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.23 ▲0.06 | 96.27 ▼9.64 | 43.40 ▲2.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/really-simple-popup/really-simple-popup.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
2 plugin tags: fancybox, popup
really-simple-popup/really-simple-popup.php Passed 13 tests
Analyzing the main PHP file in "Really Simple Popup" version 1.0.11
41 characters long description:
Simple, easy to use, fancybox style popup
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
No dangerous file extensions were detected603 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 148 | 102 | 529 |
CSS | 2 | 15 | 1 | 66 |
PHP | 1 | 6 | 30 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/close-button.png | 1.26KB | 1.01KB | ▼ 19.52% |
images/rightarrow.png | 50.51KB | 1.77KB | ▼ 96.50% |
images/overlay-bg.png | 0.18KB | 0.09KB | ▼ 48.09% |
images/leftarrow.png | 50.54KB | 1.75KB | ▼ 96.53% |