Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Parse error in wp-content/plugins/simple-self-styleable-pop-up/ssspu.php+221
syntax error, unexpected end of file
Server metrics [RAM: ▼0.00MB] [CPU: ▼138.03ms] Passed 4 tests
An overview of server-side resources used by Simple Self-Styleable Pop Up
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 33.38 ▲9.20 |
Dashboard /wp-admin | 3.06 ▲0.00 | 52.62 ▲6.89 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 44.53 ▲0.56 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 87.41 ▼560.24 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 31.94 ▲0.66 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Simple Self-Styleable Pop Up
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.89 ▲0.31 | 10.34 ▲1.54 | 50.08 ▼0.52 |
Dashboard /wp-admin | 2,967 ▲33 | 5.88 ▼0.03 | 132.31 ▼12.36 | 118.22 ▲2.90 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.01 | 67.69 ▲2.60 | 93.72 ▲1.13 |
Add New Post /wp-admin/post-new.php | 1,872 ▲257 | 19.11 ▼2.91 | 380.92 ▲110.51 | 109.59 ▼1.42 |
Media Library /wp-admin/upload.php | 1,813 ▲3 | 5.04 ▲0.01 | 142.21 ▼9.34 | 117.00 ▼3.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
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)
Good news, no errors were detected
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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/simple-self-styleable-pop-up/ssspu.php on line 221
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: Screenshot #1 (SSSPU provides a clean and easy-to-use backend for customizing. Default presets allow you to style your own pop-up within minutes.) image not found
simple-self-styleable-pop-up/ssspu.php 92% from 13 tests
Analyzing the main PHP file in "Simple Self-Styleable Pop Up" version 0.6
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-self-styleable-pop-up.php" instead of "ssspu.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin181 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 32 | 167 |
JavaScript | 1 | 1 | 0 | 14 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/yes.png | 0.90KB | 0.99KB | 0.00% |