Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.17ms] Passed 4 tests
This is a short check of server-side resources used by AnyClip Luminous Studio
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.92 ▼6.76 |
Dashboard /wp-admin | 3.34 ▲0.04 | 53.43 ▲3.19 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.02 ▲1.96 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.55 ▼11.07 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 37.82 ▲4.90 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for AnyClip Luminous Studio
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲66 | 13.44 ▼0.95 | 1.91 ▼0.03 | 41.09 ▼2.65 |
Dashboard /wp-admin | 2,218 ▲33 | 5.17 ▼0.73 | 113.53 ▼6.53 | 40.04 ▼4.69 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.51 ▲0.52 | 37.05 ▼0.70 | 33.24 ▼1.34 |
Add New Post /wp-admin/post-new.php | 6,397 ▲4,855 | 28.50 ▲10.29 | 910.88 ▲260.59 | 39.83 ▼14.70 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.47 ▲0.27 | 106.29 ▲2.74 | 49.76 ▲4.51 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 8× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/anyclip-media/anyclip-media.php
- > /wp-content/plugins/anyclip-media/inc/anyclip-recommended-classic-editor.php
- > /wp-content/plugins/anyclip-media/inc/anyclip-video-block.php
- > /wp-content/plugins/anyclip-media/inc/anyclip-recommended-block.php
- > /wp-content/plugins/anyclip-media/inc/anyclip-video-classic-editor.php
- > /wp-content/plugins/anyclip-media/inc/anyclip-media-block.php
- > /wp-content/plugins/anyclip-media/inc/anyclip-media-const.php
- > /wp-content/plugins/anyclip-media/inc/anyclip-media-classic-editor.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
anyclip-media/anyclip-media.php 92% from 13 tests
The entry point to "AnyClip Luminous Studio" version 1.3.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,212 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 137 | 6 | 871 |
PHP | 8 | 48 | 21 | 278 |
CSS | 1 | 12 | 0 | 63 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/anyclip-logo.png | 47.88KB | 16.89KB | ▼ 64.73% |
css/AnyClip-graystyle.png | 6.42KB | 2.73KB | ▼ 57.44% |