Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.02ms] Passed 4 tests
Server-side resources used by 360 Photo Spheres
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 53.21 ▲49.70 | 10,285,712.85 ▲10,285,666.97 |
Dashboard /wp-admin | 3.37 ▲0.03 | 54.72 ▲2.04 |
Posts /wp-admin/edit.php | 3.43 ▲0.02 | 50.23 ▼4.47 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.02 | 86.32 ▼22.90 |
Media Library /wp-admin/upload.php | 3.30 ▲0.02 | 39.11 ▲1.25 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by 360 Photo Spheres
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.24 ▼0.14 | 1.69 ▲0.02 | 43.92 ▼2.16 |
Dashboard /wp-admin | 2,198 ▲21 | 5.56 ▼0.03 | 89.19 ▼16.21 | 40.92 ▼3.90 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.00 | 37.64 ▼0.21 | 35.24 ▲0.06 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.21 ▲0.28 | 679.16 ▼26.78 | 67.15 ▲5.28 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.20 ▲0.03 | 103.27 ▼2.97 | 41.71 ▼2.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
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 everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/360-sphere-images/sphere.php:145
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #0, #0 in 360-sphere-images/assets to your readme.txt
- Screenshots: These screenshots do not have images: #1 (screenshot1.jpg), #2 (screenshot2.jpg)
360-sphere-images/sphere.php 69% from 13 tests
The entry point to "360 Photo Spheres" version 1.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("360-sphere-images.php" instead of "sphere.php")
- Domain Path: The domain path folder was not found ("/languages")
- Description: Keep the plugin description shorter than 140 characters (currently 162 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin132 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 1 | 12 | 132 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin