Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.17ms] Passed 4 tests
Analyzing server-side resources used by Complex TV Embed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.60 ▼5.94 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.30 ▼8.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.15 ▲7.27 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.27 ▼3.45 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 30.56 ▼2.80 |
Complex TV Embed /wp-admin/options-general.php?page=complextv_embed | 3.18 | 27.88 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Complex TV Embed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.22 ▼1.16 | 1.68 ▼0.37 | 42.82 ▼1.33 |
Dashboard /wp-admin | 2,210 ▲25 | 4.84 ▼0.04 | 98.64 ▼24.21 | 39.24 ▼10.86 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.01 | 39.67 ▼0.50 | 34.83 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.31 ▲5.73 | 670.82 ▲29.63 | 47.31 ▲3.31 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.22 ▲0.03 | 97.32 ▼4.00 | 42.86 ▼0.25 |
Complex TV Embed /wp-admin/options-general.php?page=complextv_embed | 820 | 2.03 | 23.98 | 25.48 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=complextv_embed
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=complextv_embed
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=complextv_embed
- > Notice in wp-content/plugins/complex-tv-embed/complex-tv-embed.php+163
Trying to access array offset on value of type bool
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/complex-tv-embed/complex-tv-embed.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Donate link: Please fix this invalid url: ""
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== complex-tv-embed ===
) - Screenshots: Screenshot #1 (The Settings page to fill in after activating the plugin, which can be found in `Setting > ComplexTV Embed`) image missing
complex-tv-embed/complex-tv-embed.php Passed 13 tests
"Complex TV Embed" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
57 characters long description:
WP plugin to help publishers embed video from Complex TV.
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
There were no executable files found in this plugin145 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 15 | 145 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected