Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.32ms] Passed 4 tests
A check of server-side resources used by gPano
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.08 ▼2.22 |
Dashboard /wp-admin | 3.39 ▲0.09 | 53.37 ▲2.19 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 53.95 ▲7.56 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 91.49 ▼8.32 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.59 ▲3.06 |
Add New /wp-admin/post-new.php?post_type=gpano_vtour | 3.35 | 46.75 |
Settings /wp-admin/edit.php?post_type=gpano_vtour&page=gpano-setup | 3.27 | 38.72 |
Panoramas /wp-admin/edit.php?post_type=gpano_vtour | 3.36 | 36.69 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 8 new options
New WordPress options |
---|
gpano_container |
gpano_apikey |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for gPano
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲148 | 13.37 ▼0.98 | 7.75 ▲5.71 | 40.52 ▼5.19 |
Dashboard /wp-admin | 2,223 ▲58 | 5.55 ▼0.05 | 87.81 ▼0.56 | 39.55 ▼1.07 |
Posts /wp-admin/edit.php | 2,131 ▲34 | 2.03 ▲0.05 | 36.66 ▲0.06 | 32.93 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,552 ▲21 | 23.25 ▲0.50 | 691.53 ▲4.98 | 53.96 ▼7.57 |
Media Library /wp-admin/upload.php | 1,431 ▲37 | 4.20 ▼0.08 | 94.23 ▼7.40 | 43.99 ▼3.14 |
Add New /wp-admin/post-new.php?post_type=gpano_vtour | 1,510 | 2.53 | 52.35 | 59.74 |
Settings /wp-admin/edit.php?post_type=gpano_vtour&page=gpano-setup | 857 | 2.01 | 26.13 | 30.62 |
Panoramas /wp-admin/edit.php?post_type=gpano_vtour | 1,100 | 1.90 | 31.69 | 30.07 |
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: 8 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- gpano_apikey
- theysaidso_admin_options
- widget_theysaidso_widget
- gpano_container
- widget_recent-comments
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
Even though no errors were found, 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
Almost there! Just fix the following items
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/gpano/admin/settings.php
- > /wp-content/plugins/gpano/admin/edit-panorama.php
- > /wp-content/plugins/gpano/gpano.php
- > /wp-content/plugins/gpano/admin/view/edit-panorama-metabox.php
- > /wp-content/plugins/gpano/frontend/shortcode.php
- > /wp-content/plugins/gpano/admin/view/edit-panorama-shortcode.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% 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 your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== gpano ===
) - Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: Please add images for these screenshots: #3 (Hotspots in the panorama), #4 (Video example), #5 (Gallery example), #6 (Google Street View example)
gpano/gpano.php Passed 13 tests
"gPano" version 1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
68 characters long description:
The plugin allow embed the Google street view panoramas to wordpress
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 detected895 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 92 | 34 | 790 |
JavaScript | 1 | 6 | 0 | 92 |
CSS | 1 | 2 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 1 | |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected