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
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.84ms] Passed 4 tests
A check of server-side resources used by Easy Panorama
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 35.70 ▼8.62 |
Dashboard /wp-admin | 3.36 ▲0.06 | 58.44 ▲1.78 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 51.77 ▲11.96 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.91 ▼9.80 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.18 ▲1.27 |
Easy Panorama /wp-admin/options-general.php?page=easy-panorama-settings | 3.26 | 38.06 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Panorama
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,047 ▲286 | 15.25 ▲0.89 | 7.79 ▲5.78 | 39.18 ▼6.97 |
Dashboard /wp-admin | 2,335 ▲161 | 6.15 ▲0.59 | 146.55 ▲45.36 | 39.63 ▼3.73 |
Posts /wp-admin/edit.php | 2,266 ▲163 | 3.34 ▲1.35 | 50.25 ▲10.13 | 31.24 ▲1.17 |
Add New Post /wp-admin/post-new.php | 6,372 ▲4,835 | 27.91 ▲9.59 | 909.45 ▲295.42 | 37.74 ▼31.24 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.18 ▼0.03 | 86.96 ▼20.40 | 46.50 ▲4.47 |
Easy Panorama /wp-admin/options-general.php?page=easy-panorama-settings | 1,155 | 3.01 | 37.66 | 37.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: mobile, responsive, paver, image, gutenberg...
easy-panorama/easy-panorama.php 92% from 13 tests
The main PHP script in "Easy Panorama" version 1.1.5 is automatically included on every request by WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 145 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,657 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 171 | 637 | 704 |
JavaScript | 9 | 48 | 90 | 629 |
PO File | 1 | 50 | 53 | 153 |
Markdown | 1 | 22 | 0 | 61 |
JSON | 1 | 0 | 0 | 43 |
Sass | 1 | 3 | 0 | 24 |
YAML | 1 | 5 | 0 | 21 |
XML | 1 | 6 | 7 | 20 |
CSS | 2 | 0 | 1 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 6.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 15.38% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin