Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.21ms] Passed 4 tests
Analyzing server-side resources used by 360 View
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 34.38 ▼9.35 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.19 ▼10.37 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 46.95 ▼6.64 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 95.83 ▲9.82 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.13 ▲5.51 |
Server storage [IO: ▲5.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for 360 View
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.73 ▼0.64 | 5.47 ▲3.20 | 41.54 ▼0.94 |
Dashboard /wp-admin | 2,214 ▲26 | 4.91 ▼0.98 | 99.88 ▼14.15 | 40.47 ▼2.60 |
Posts /wp-admin/edit.php | 2,094 ▲2 | 2.16 ▲0.11 | 40.31 ▲5.06 | 35.77 ▲1.41 |
Add New Post /wp-admin/post-new.php | 6,255 ▲4,741 | 19.96 ▲2.27 | 930.26 ▲302.70 | 65.97 ▲11.30 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.34 ▲0.17 | 94.25 ▼2.33 | 41.43 ▼1.78 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/360-view/360-view.php
- > /wp-content/plugins/360-view/src/init.php
- > /wp-content/plugins/360-view/360-view-util.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
360-view/360-view.php Passed 13 tests
The primary PHP file in "360 View" version 1.1.0 is used by WordPress to initiate all plugin functionality
80 characters long description:
Easily embed any number of 360-degree images and/or videos into your blog posts.
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
There were no executable files found in this plugin2,946 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 733 | 264 | 2,503 |
JSON | 2 | 0 | 0 | 230 |
PHP | 3 | 16 | 10 | 98 |
CSS | 3 | 9 | 23 | 66 |
Sass | 3 | 9 | 1 | 49 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin