Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼2.90ms] Passed 4 tests
This is a short check of server-side resources used by NewHeap Azure Logic apps
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 49.75 ▲8.86 |
Dashboard /wp-admin | 3.51 ▲0.21 | 55.43 ▲5.34 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 52.65 ▲0.69 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 90.03 ▼19.33 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 44.56 ▲1.72 |
Add New /wp-admin/post-new.php?post_type=nhala_integr | 3.54 | 48.69 |
Logic app integrations /wp-admin/edit.php?post_type=nhala_integr | 3.48 | 49.58 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by NewHeap Azure Logic apps
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 14.41 ▲0.14 | 1.75 ▲0.19 | 44.15 ▲1.29 |
Dashboard /wp-admin | 2,279 ▲104 | 5.60 ▼0.27 | 92.33 ▼4.67 | 38.97 ▼7.98 |
Posts /wp-admin/edit.php | 2,188 ▲85 | 2.07 ▲0.06 | 35.49 ▼5.35 | 32.35 ▼6.74 |
Add New Post /wp-admin/post-new.php | 1,553 ▲22 | 23.20 ▲0.24 | 735.16 ▲45.80 | 63.54 ▲2.38 |
Media Library /wp-admin/upload.php | 1,488 ▲91 | 4.19 ▼0.08 | 96.89 ▼10.54 | 44.89 ▼4.98 |
Add New /wp-admin/post-new.php?post_type=nhala_integr | 2,744 | 2.69 | 56.27 | 55.27 |
Logic app integrations /wp-admin/edit.php?post_type=nhala_integr | 1,116 | 1.98 | 32.99 | 31.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: ms logic, azure apps, logic apps, ms apps, microsoft flow...
newheap-azure-logic-apps/Main.php 92% from 13 tests
The main PHP file in "NewHeap Azure Logic apps" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("newheap-azure-logic-apps.php" instead of "Main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin4,183 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 878 | 486 | 3,967 |
CSS | 1 | 40 | 7 | 214 |
JavaScript | 1 | 4 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 9 | 16.36% |
▷ Concrete classes | 46 | 83.64% |
▷ Final classes | 1 | 2.17% |
Methods | 274 | |
▷ Static methods | 4 | 1.46% |
▷ Public methods | 259 | 94.53% |
▷ Protected methods | 2 | 0.73% |
▷ Private methods | 13 | 4.74% |
Functions | 36 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 36 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected