Benchmarks
Plugin footprint Passed 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼294.52ms] Passed 4 tests
An overview of server-side resources used by PeproDev noConflict Video
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 60.60 ▲2.43 |
Dashboard /wp-admin | 3.47 ▲0.06 | 37.16 ▼2.05 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 41.08 ▲0.72 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 100.69 ▼1,176.97 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 29.22 ▲0.23 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for PeproDev noConflict Video
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,798 ▲44 | 15.97 ▲0.24 | 6.83 ▲0.97 | 2.80 ▲0.54 |
Dashboard /wp-admin | 2,891 ▲40 | 6.16 ▼0.14 | 116.48 ▼18.21 | 154.58 ▼4.22 |
Posts /wp-admin/edit.php | 2,694 ▲37 | 3.23 ▼0.02 | 62.11 ▼1.85 | 140.81 ▼4.16 |
Add New Post /wp-admin/post-new.php | 1,755 ▲120 | 21.95 ▲3.77 | 464.43 ▼16.04 | 157.33 ▲5.57 |
Media Library /wp-admin/upload.php | 1,701 ▲6 | 5.53 ▲0.03 | 137.08 ▼18.17 | 185.77 ▼33.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/pepro-noconflict-video/pepro-video.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: video, visual composer, wpbakery page builder, video widget, functionality
pepro-noconflict-video/pepro-video.php 85% from 13 tests
The main file in "PeproDev noConflict Video" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pepro-noconflict-video.php" instead of "pepro-video.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Success! There were no dangerous files found in this plugin445 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 26 | 229 |
PO File | 1 | 25 | 28 | 68 |
JavaScript | 1 | 2 | 9 | 50 |
SVG | 1 | 4 | 0 | 47 |
CSS | 1 | 2 | 10 | 44 |
Markdown | 1 | 3 | 0 | 6 |
HTML | 1 | 0 | 0 | 1 |
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.29 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin