Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/virtooal-try-on-mirror/src/class-virtooal-try-on-mirror-api.php+91
Undefined offset: 1
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.65ms] Passed 4 tests
Server-side resources used by Auglio Try-on Mirror
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.02 ▼1.98 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.36 ▼2.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.52 ▲3.74 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.88 ▲8.58 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.84 ▲3.54 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
virtooal_settings |
virtooal_try_on_mirror_version |
virtooal_installation_id |
virtooal_api |
widget_recent-posts |
Browser metrics Passed 4 tests
Auglio Try-on Mirror: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.17 ▼1.12 | 1.70 ▼0.26 | 37.91 ▼7.66 |
Dashboard /wp-admin | 2,209 ▲21 | 5.85 ▼0.00 | 105.88 ▼8.65 | 41.03 ▼0.84 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 38.57 ▲2.74 | 35.17 ▲1.13 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.15 ▼0.06 | 582.67 ▼46.24 | 61.22 ▲4.39 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.02 | 98.65 ▼1.52 | 40.62 ▼1.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 10 options in the database
- virtooal_settings
- virtooal_installation_id
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- virtooal_try_on_mirror_version
- widget_recent-comments
- widget_theysaidso_widget
- virtooal_api
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: woocommerce, virtual mirror, contact lenses, eye shadows, glasses...
virtooal-try-on-mirror/virtooal-try-on-mirror.php 92% from 13 tests
This is the main PHP file of "Auglio Try-on Mirror" version 1.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "3.0.0")
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
Success! There were no dangerous files found in this plugin862 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 107 | 63 | 855 |
CSS | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 11.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 70.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 29.73% |
Functions | 7 | |
▷ Named functions | 7 | 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 Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected