Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.90MB] [CPU: ▼41.02ms] Passed 4 tests
A check of server-side resources used by Viddyoze
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 46.78 ▲4.03 |
Dashboard /wp-admin | 3.05 ▼0.26 | 21.80 ▼35.49 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 24.56 ▼30.06 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.84 | 19.09 ▼76.28 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 18.86 ▼22.23 |
Welcome To Viddyoze /wp-admin/index.php?page=viddyoze-welcome-screen | 3.05 | 17.78 |
Server storage [IO: ▲0.83MB] [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: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Viddyoze
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲61 | 13.64 ▼1.13 | 2.01 ▲0.10 | 42.03 ▼4.22 |
Dashboard /wp-admin | 2,245 ▲36 | 5.88 ▲0.00 | 99.96 ▲4.24 | 39.68 ▲1.65 |
Posts /wp-admin/edit.php | 2,124 ▲38 | 2.01 ▼0.01 | 43.19 ▲9.09 | 37.03 ▲1.60 |
Add New Post /wp-admin/post-new.php | 1,558 ▲25 | 22.94 ▼0.41 | 690.24 ▼39.21 | 64.19 ▲12.42 |
Media Library /wp-admin/upload.php | 1,427 ▲39 | 4.22 ▲0.01 | 95.77 ▼7.96 | 43.49 ▼2.88 |
Welcome To Viddyoze /wp-admin/index.php?page=viddyoze-welcome-screen | 1,419 | 6.41 | 62.49 | 66.54 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/viddyoze/includes/class.viddyoze.php+37
Undefined index: page
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/index.php?page=viddyoze-welcome-screen
- > Notice in wp-content/plugins/viddyoze/includes/class.viddyoze.php+38
Undefined index: t
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/viddyoze/viddyoze.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/index.php?page=viddyoze-welcome-screen
- > Other (warning) in unknown
/wp-admin/index.php?page=viddyoze-welcome-screen 205 Allow attribute will take precedence over 'allowfullscreen'.
- > GET request to /wp-admin/index.php?page=viddyoze-welcome-screen
- > Network (severe)
wp-content/plugins/viddyoze/admin/welcome-page-hero-dots.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: videos, marketing, video, promotion
viddyoze/viddyoze.php 92% from 13 tests
"Viddyoze" version 1.0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: The text domain should only use lowercase characters and dashes
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
No dangerous file extensions were detected3,194 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 166 | 179 | 1,609 |
CSS | 3 | 334 | 224 | 1,157 |
JavaScript | 5 | 46 | 31 | 404 |
Markdown | 1 | 11 | 0 | 24 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 226.00 |
▷ Minimum class complexity | 226.00 |
▷ Maximum class complexity | 226.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 66 | |
▷ Static methods | 66 | 100.00% |
▷ Public methods | 62 | 93.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.06% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 compressed PNG files occupy 0.25MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/welcome-page-hero-items.png | 245.32KB | 266.30KB | 0.00% |
admin/images/viddyoze-plugin-icon.png | 0.73KB | 0.57KB | ▼ 22.18% |
admin/images/welcome-page-hero-dots.png | 13.72KB | 15.91KB | 0.00% |