Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.79ms] Passed 4 tests
Analyzing server-side resources used by wpDataTables integration for Forminator Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 46.82 ▲6.24 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.12 ▼9.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.37 ▼5.59 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.19 ▼8.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 42.49 ▲4.83 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for wpDataTables integration for Forminator Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.37 | 1.81 ▼0.03 | 47.45 ▲3.04 |
Dashboard /wp-admin | 2,195 ▲18 | 5.52 ▼0.06 | 99.31 ▼2.20 | 46.85 ▲4.85 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▲0.03 | 37.84 ▲2.62 | 34.72 ▼1.54 |
Add New Post /wp-admin/post-new.php | 1,526 ▼8 | 23.37 ▲4.98 | 692.17 ▲17.81 | 52.09 ▼36.63 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.22 ▲0.02 | 97.55 ▼6.49 | 43.03 ▼2.78 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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 | 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
Almost there! Just fix the following items
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wpdatatables-forminator/wdt-forminator-integration.php
- > /wp-content/plugins/wpdatatables-forminator/templates/tabpanel.inc.php
- > /wp-content/plugins/wpdatatables-forminator/templates/data_source_block.inc.php
- > /wp-content/plugins/wpdatatables-forminator/templates/tab.inc.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
wpdatatables-forminator/wdt-forminator-integration.php 77% from 13 tests
"wpDataTables integration for Forminator Forms" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wpdatatables-forminator.php" instead of "wdt-forminator-integration.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,551 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 111 | 154 | 1,125 |
JavaScript | 2 | 45 | 85 | 413 |
CSS | 1 | 2 | 0 | 13 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 110)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 238.00 |
▷ Minimum class complexity | 238.00 |
▷ Maximum class complexity | 238.00 |
Average method complexity | 11.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 110.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 22 | 100.00% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There were not PNG files found in your plugin