Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.39ms] Passed 4 tests
An overview of server-side resources used by DriveWorks Block - Form Embed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.84 ▼13.07 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.07 ▼2.97 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.69 ▼3.23 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 86.27 ▼10.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 41.80 ▲8.09 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DriveWorks Block - Form Embed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 13.51 ▼1.09 | 5.56 ▲3.71 | 40.63 ▼3.92 |
Dashboard /wp-admin | 2,209 ▲18 | 5.88 ▲0.79 | 101.40 ▼7.47 | 41.64 ▲2.15 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.02 | 37.28 ▼5.24 | 34.38 ▼0.03 |
Add New Post /wp-admin/post-new.php | 6,356 ▲4,837 | 27.54 ▲4.53 | 931.74 ▲264.56 | 41.67 ▼9.40 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.27 ▲0.05 | 109.78 ▲6.90 | 48.03 ▲0.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 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 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
Everything seems fine, however this is by no means an exhaustive test
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 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
10 plugin tags: form, embed, project, integration theme, block...
driveworks-block-form-embed/driveworks-block-form-embed.php Passed 13 tests
Analyzing the main PHP file in "DriveWorks Block - Form Embed" version 1.0.0
68 characters long description:
Use a block to quickly embed a DriveWorks Form (Project or DriveApp)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected16,808 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 16,175 |
JavaScript | 5 | 67 | 111 | 257 |
JSX | 3 | 19 | 0 | 229 |
Sass | 2 | 12 | 2 | 80 |
PHP | 3 | 15 | 26 | 65 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
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 | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.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