Benchmarks
Plugin footprint 81% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲6.56MB] [CPU: ▲1,769.82ms] 50% from 4 tests
Analyzing server-side resources used by WPVideoBaker – Repurpose your WordPress Blog post to Video
Please fix the following
- Extra RAM: Try to keep extra memory usage under 5MB (currently 6.56MB on /wp-admin/admin.php?page=video_baker#tab=global-settings)
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 1,769.82ms on /wp-admin/admin.php?page=video_baker#tab=global-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.54 ▲7.08 | 1,503.87 ▲1,460.02 |
Dashboard /wp-admin | 10.57 ▲7.26 | 1,921.01 ▲1,868.48 |
Posts /wp-admin/edit.php | 10.57 ▲7.21 | 1,873.85 ▲1,828.54 |
Add New Post /wp-admin/post-new.php | 10.57 ▲4.68 | 2,026.05 ▲1,922.24 |
Media Library /wp-admin/upload.php | 10.57 ▲7.34 | 1,993.35 ▲1,962.82 |
Server storage [IO: ▲2.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 180 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
video_baker_admin |
widget_recent-comments |
can_compress_scripts |
Browser metrics 75% from 4 tests
An overview of browser requirements for WPVideoBaker – Repurpose your WordPress Blog post to Video
Please improve the following
- Nodes: For the best user experience, please reduce the number of DOM nodes under 25,000 (currently 155,077 on /wp-admin/admin.php?page=video_baker#tab=opener-settings)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲182 | 13.49 ▼1.23 | 8.22 ▲6.22 | 40.41 ▼6.22 |
Dashboard /wp-admin | 2,267 ▲90 | 5.58 ▼0.07 | 83.01 ▼11.17 | 41.96 ▲0.63 |
Posts /wp-admin/edit.php | 2,364 ▲264 | 3.61 ▲1.62 | 67.88 ▲28.44 | 36.15 ▼1.94 |
Add New Post /wp-admin/post-new.php | 1,868 ▲327 | 18.84 ▼4.12 | 699.22 ▲26.15 | 55.61 ▲2.72 |
Media Library /wp-admin/upload.php | 1,469 ▲72 | 4.18 ▼0.06 | 78.29 ▼28.07 | 45.15 ▼1.50 |
Import/Export Settings /wp-admin/admin.php?page=video_baker#tab=import-export-settings | 154,244 | 10.44 | 404.48 | 47.01 |
Thank You settings /wp-admin/admin.php?page=video_baker#tab=thank-you-settings | 154,534 | 11.95 | 477.07 | 66.30 |
Welcome /wp-admin/admin.php?page=video_baker#tab=welcome | 154,254 | 10.54 | 404.12 | 116.17 |
Opener settings /wp-admin/admin.php?page=video_baker#tab=opener-settings | 155,077 | 15.05 | 484.97 | 75.32 |
Global Settings /wp-admin/admin.php?page=video_baker#tab=global-settings | 154,629 | 12.41 | 475.49 | 97.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- video_baker_admin
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-video-baker/admin/partials/wp-video-baker-admin-display.php
- > /wp-content/plugins/wp-video-baker/public/partials/wp-video-baker-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
wp-video-baker/wp-video-baker.php 92% from 13 tests
Analyzing the main PHP file in "WPVideoBaker – Repurpose your WordPress Blog post to Video" version 1.0
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 315 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected32,157 lines of code in 142 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 91 | 2,724 | 1,490 | 8,496 |
JavaScript | 7 | 1,324 | 521 | 6,611 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Sass | 16 | 969 | 3 | 5,667 |
CSS | 6 | 391 | 517 | 4,881 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 22.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 6.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 69 | |
▷ Abstract classes | 2 | 2.90% |
▷ Concrete classes | 67 | 97.10% |
▷ Final classes | 0 | 0.00% |
Methods | 273 | |
▷ Static methods | 44 | 16.12% |
▷ Public methods | 268 | 98.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 1.83% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.39MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/functions/assets/img/blcakwhite-4.png | 24.71KB | 6.65KB | ▼ 73.07% |
screenshots/builder.png | 89.73KB | 24.29KB | ▼ 72.93% |
admin/functions/assets/img/blcakwhite-5.png | 12.31KB | 3.51KB | ▼ 71.48% |
screenshots/global.png | 260.31KB | 73.68KB | ▼ 71.70% |
admin/functions/assets/img/blcakwhite-6.png | 12.38KB | 4.46KB | ▼ 63.94% |