Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.78MB] [CPU: ▼38.36ms] Passed 4 tests
This is a short check of server-side resources used by Vidjet - Shoppable Videos
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.36 ▼6.23 |
Dashboard /wp-admin | 3.18 ▼0.17 | 23.64 ▼36.23 |
Posts /wp-admin/edit.php | 3.18 ▼0.18 | 25.82 ▼24.71 |
Add New Post /wp-admin/post-new.php | 3.18 ▼2.71 | 23.69 ▼81.78 |
Media Library /wp-admin/upload.php | 3.18 ▼0.05 | 24.63 ▼10.72 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Vidjet - Shoppable Videos
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.27 ▼1.10 | 1.71 ▼0.24 | 38.84 ▼6.30 |
Dashboard /wp-admin | 2,218 ▲27 | 4.84 ▼0.05 | 108.38 ▲6.26 | 41.43 ▼1.93 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.01 ▼0.06 | 39.27 ▼1.33 | 34.39 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,552 ▲18 | 18.23 ▼4.79 | 601.41 ▼4.72 | 53.81 ▼4.69 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.19 ▼0.01 | 95.05 ▼1.72 | 43.79 ▼0.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/vidjet/admin/class-vidjet-admin.php+76
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: social, product video, ecommerce, customer experience, sales popup...
vidjet/vidjet.php Passed 13 tests
The principal PHP file in "Vidjet - Shoppable Videos" v. 1.1.1 is loaded by WordPress automatically on each request
52 characters long description:
Engage and convert your visitors using smart videos.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,082 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 331 | 546 | 1,055 |
PO File | 1 | 5 | 6 | 26 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis 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.29 |
Average class complexity | 5.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 13 | 17.81% |
▷ Public methods | 61 | 83.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 16.44% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
No PNG files were detected