Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼288.37ms] Passed 4 tests
A check of server-side resources used by Vrm 360 3D Model Viewer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.12 | 61.62 ▲2.63 |
Dashboard /wp-admin | 3.49 ▲0.07 | 35.11 ▲2.01 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 46.86 ▲10.08 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.02 | 95.71 ▼1,160.15 |
Media Library /wp-admin/upload.php | 3.37 ▲0.07 | 24.68 ▲2.03 |
Server storage [IO: ▲20.74MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 50 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Vrm 360 3D Model Viewer: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,930 ▲208 | 18.15 ▲2.57 | 43.62 ▲37.72 | 2.77 ▼0.15 |
Dashboard /wp-admin | 2,892 ▲34 | 6.14 ▲0.01 | 124.76 ▼14.73 | 174.28 ▲6.53 |
Posts /wp-admin/edit.php | 2,691 ▼0 | 3.36 ▼0.01 | 68.52 ▲3.93 | 153.69 ▼66.72 |
Add New Post /wp-admin/post-new.php | 1,752 ▲91 | 21.79 ▲5.70 | 452.63 ▲1.31 | 186.24 ▲27.69 |
Media Library /wp-admin/upload.php | 1,692 ▼0 | 5.55 ▲0.03 | 160.46 ▲16.27 | 233.77 ▲2.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/vrm360/vrm360.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Invalid URI found ("")
vrm360/vrm360.php Passed 13 tests
The main PHP file in "Vrm 360 3D Model Viewer" ver. 1.2.1 adds more information about the plugin and also serves as the entry point for this plugin
36 characters long description:
3D model viewer w/ rotation and zoom
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
Good job! No executable or dangerous file extensions detected8,946 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 5,152 | 1,085 | 8,259 |
PHP | 3 | 33 | 55 | 313 |
SVG | 5 | 15 | 11 | 298 |
CSS | 2 | 6 | 16 | 76 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.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 | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 3.72MB with 2.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Screenshot-4.png | 771.25KB | 194.82KB | ▼ 74.74% |
assets/Screenshot-2.png | 190.53KB | 67.11KB | ▼ 64.78% |
Screenshot-3.png | 1,141.00KB | 380.74KB | ▼ 66.63% |
dragtospin.png | 4.86KB | 2.51KB | ▼ 48.31% |
assets/icon-128x128.png | 14.26KB | 5.60KB | ▼ 60.73% |