Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼6.75ms] Passed 4 tests
This is a short check of server-side resources used by Curator Studio - YouTube - Show videos from channels, playlists and more
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.19 | 45.65 ▼5.50 |
Dashboard /wp-admin | 3.76 ▲0.12 | 52.89 ▼14.23 |
Posts /wp-admin/edit.php | 3.81 ▲0.13 | 51.53 ▼1.66 |
Add New Post /wp-admin/post-new.php | 6.62 ▲0.47 | 96.11 ▼5.59 |
Media Library /wp-admin/upload.php | 3.62 ▲0.13 | 38.84 ▲3.33 |
YouTube /wp-admin/admin.php?page=curator-studio-youtube | 3.59 | 35.77 |
Curator Studio /wp-admin/admin.php?page=curator-studio | 3.49 | 33.40 |
Server storage [IO: ▲1.74MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 149 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_cstudio_items |
wp_cstudio_apps |
wp_cstudio_sources |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Curator Studio - YouTube - Show videos from channels, playlists and more
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 14.26 ▲0.07 | 2.48 ▲0.37 | 43.51 ▲1.38 |
Dashboard /wp-admin | 2,222 ▲45 | 5.65 ▼0.05 | 100.11 ▲11.97 | 41.89 ▲3.44 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.01 ▼0.01 | 35.60 ▼0.72 | 34.39 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 17.66 ▼5.55 | 599.60 ▼107.73 | 49.66 ▼9.09 |
Media Library /wp-admin/upload.php | 1,427 ▲33 | 4.20 ▼0.03 | 96.73 ▼1.36 | 45.25 ▲1.82 |
YouTube /wp-admin/admin.php?page=curator-studio-youtube | 1,040 | 5.59 | 118.57 | 67.97 |
Curator Studio /wp-admin/admin.php?page=curator-studio | 1,064 | 5.59 | 136.93 | 65.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_cstudio_items
- wp_cstudio_apps
- wp_cstudio_sources
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 17× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/curator-studio-youtube/platform/YouTube.php
- > /wp-content/plugins/curator-studio-youtube/platform/BaseSource.php
- > /wp-content/plugins/curator-studio-youtube/utils/Utils.php
- > /wp-content/plugins/curator-studio-youtube/utils/URL/Vimeo.php
- > /wp-content/plugins/curator-studio-youtube/platform/Platform.php
- > /wp-content/plugins/curator-studio-youtube/core/Infra.php
- > /wp-content/plugins/curator-studio-youtube/core/Streamer.php
- > /wp-content/plugins/curator-studio-youtube/utils/URL/Twitter.php
- > /wp-content/plugins/curator-studio-youtube/db/DB.php
- > /wp-content/plugins/curator-studio-youtube/uninstall.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6 in curator-studio-youtube/assets to your readme.txt
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
curator-studio-youtube/start.php 92% from 13 tests
Analyzing the main PHP file in "Curator Studio - YouTube - Show videos from channels, playlists and more" version 0.1.3
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("curator-studio-youtube.php" instead of "start.php")
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
Good job! No executable or dangerous file extensions detected14,032 lines of code in 146 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 85 | 1,255 | 442 | 7,956 |
PHP | 19 | 602 | 287 | 3,081 |
Vuejs Component | 42 | 419 | 9 | 2,995 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 22.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 243 | |
▷ Static methods | 74 | 30.45% |
▷ Public methods | 224 | 92.18% |
▷ Protected methods | 10 | 4.12% |
▷ Private methods | 9 | 3.70% |
Functions | 52 | |
▷ Named functions | 8 | 15.38% |
▷ Anonymous functions | 44 | 84.62% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
There were not PNG files found in your plugin