Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼3.23ms] Passed 4 tests
A check of server-side resources used by Integria IMS integration for Wordpress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 39.52 ▲1.02 |
Dashboard /wp-admin | 3.54 ▲0.20 | 45.41 ▼17.50 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 46.08 ▲3.72 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 93.70 ▲1.66 |
Media Library /wp-admin/upload.php | 3.46 ▲0.24 | 36.26 ▲1.92 |
Tickets /wp-admin/admin.php?page=iims_wp_admin_menu_tickets | 3.42 | 33.58 |
Leads /wp-admin/admin.php?page=iims_wp_admin_menu_leads | 3.42 | 32.51 |
Setup /wp-admin/admin.php?page=iims_wp_admin_menu | 3.43 | 29.52 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_iims-wp::form_data_tickets |
wp_iims-wp::form_data |
New WordPress options |
---|
can_compress_scripts |
iims-wp::installed |
widget_recent-comments |
db_upgraded |
iimswp-options-setup |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Integria IMS integration for Wordpress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,993 ▲247 | 14.19 ▼0.40 | 6.68 ▲4.84 | 42.87 ▼2.57 |
Dashboard /wp-admin | 2,258 ▲70 | 5.15 ▲0.28 | 109.96 ▲4.22 | 68.22 ▲31.11 |
Posts /wp-admin/edit.php | 2,149 ▲60 | 2.29 ▲0.32 | 37.34 ▼2.48 | 35.47 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,566 ▲24 | 18.33 ▼0.20 | 712.91 ▲78.18 | 55.29 ▼2.51 |
Media Library /wp-admin/upload.php | 1,431 ▲46 | 4.47 ▲0.23 | 98.77 ▼4.84 | 71.63 ▲26.21 |
Tickets /wp-admin/admin.php?page=iims_wp_admin_menu_tickets | 958 | 2.04 | 27.67 | 31.38 |
Leads /wp-admin/admin.php?page=iims_wp_admin_menu_leads | 949 | 2.05 | 27.88 | 29.77 |
Setup /wp-admin/admin.php?page=iims_wp_admin_menu | 976 | 2.15 | 26.12 | 33.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_iims-wp::form_data_tickets
- wp_iims-wp::form_data
- Zombie WordPress options detected upon uninstall: 8 options
- iims-wp::installed
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- iimswp-options-setup
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/integria-ims-wp/integriaims-wp.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
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
7 plugin tags: customer support, integration, support, leads, ticketing...
integria-ims-wp/integriaims-wp.php 85% from 13 tests
"Integria IMS integration for Wordpress" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("integria-ims-wp.php" instead of "integriaims-wp.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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,468 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 486 | 202 | 1,802 |
JavaScript | 1 | 206 | 38 | 596 |
Markdown | 1 | 14 | 0 | 70 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 25 | 62.50% |
▷ Public methods | 28 | 70.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 30.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 0.58KB | 0.32KB | ▼ 44.39% |