Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.97ms] Passed 4 tests
An overview of server-side resources used by DriveWorks Shortcode - Form Embed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.59 ▲2.42 |
Dashboard /wp-admin | 3.31 ▼0.04 | 51.27 ▼14.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.98 ▼4.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.56 ▼15.40 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.95 ▲6.05 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for DriveWorks Shortcode - Form Embed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.28 ▲0.03 | 1.75 ▼0.16 | 44.05 ▲1.13 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.08 | 93.68 ▼7.56 | 40.72 ▼5.38 |
Posts /wp-admin/edit.php | 2,100 ▲18 | 1.99 ▼0.02 | 36.83 ▼0.41 | 35.62 ▼0.21 |
Add New Post /wp-admin/post-new.php | 1,526 ▼13 | 23.10 ▼0.08 | 671.23 ▲15.38 | 60.98 ▲7.17 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.12 ▼0.04 | 102.56 ▲4.11 | 45.78 ▲2.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
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
8 plugin tags: driveworks live, embed, project, integration theme, integration...
driveworks-shortcode-form-embed/driveworks-shortcode-form-embed.php Passed 13 tests
The entry point to "DriveWorks Shortcode - Form Embed" version 1.0.1 is a PHP file that has certain tags in its header comment area
68 characters long description:
Use shortcode to quickly embed DriveWorks Forms (Projects/DriveApps)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin326 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 57 | 101 | 213 |
PHP | 1 | 18 | 20 | 82 |
CSS | 1 | 4 | 4 | 31 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin