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.00MB] [CPU: ▼5.33ms] Passed 4 tests
Analyzing server-side resources used by Add-On for Microsoft Teams and Gravity Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.87 ▲1.44 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.21 ▲0.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.66 ▼0.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.16 ▼22.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.62 ▲0.88 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Add-On for Microsoft Teams and Gravity Forms: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.32 ▼1.09 | 2.15 ▲0.42 | 43.61 ▼0.53 |
Dashboard /wp-admin | 2,206 ▲15 | 5.84 ▲0.93 | 97.92 ▼6.96 | 40.69 ▼2.09 |
Posts /wp-admin/edit.php | 2,086 ▼7 | 1.99 ▼0.02 | 39.20 ▲4.22 | 35.48 ▲4.23 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.47 ▼5.60 | 648.05 ▼30.75 | 59.11 ▲0.15 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▼0.02 | 97.11 ▼9.50 | 42.60 ▼5.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
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 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
6 plugin tags: teams, microsoft, chat, forms, webhook...
gf-msteams/gf-msteams.php Passed 13 tests
The main PHP file in "Add-On for Microsoft Teams and Gravity Forms" ver. 1.0.8 adds more information about the plugin and also serves as the entry point for this plugin
52 characters long description:
Send Gravity Form entries to Microsoft Teams channel
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,023 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 274 | 470 | 997 |
JavaScript | 1 | 4 | 4 | 24 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 63.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 5.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 3 | 9.68% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/wordpress-logo.png | 17.51KB | 6.58KB | ▼ 62.43% |
img/msteams-logo.png | 1.02KB | 1.07KB | 0.00% |