Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.86ms] Passed 4 tests
This is a short check of server-side resources used by Faq Module For Divi
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.13 ▼5.93 |
Dashboard /wp-admin | 3.42 ▲0.08 | 47.56 ▼15.98 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 51.09 ▲1.74 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 96.66 ▼6.69 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.36 ▼2.84 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.35 | 33.69 |
Server storage [IO: ▲0.70MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Faq Module For Divi: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.76 ▲0.41 | 1.64 ▼0.18 | 45.08 ▲3.54 |
Dashboard /wp-admin | 2,225 ▲48 | 5.67 ▲0.09 | 90.86 ▲0.52 | 47.18 ▲5.07 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.11 ▲0.10 | 42.22 ▲5.08 | 41.25 ▲3.71 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.54 ▲0.40 | 615.01 ▼66.56 | 45.38 ▼17.71 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.22 ▲0.03 | 101.36 ▼15.02 | 46.83 ▼1.47 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 971 | 2.09 | 25.63 | 31.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/faq-module-for-divi/includes/modules/FaqModule/FaqModule.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/faq-module-for-divi/includes/libraries/TGM-Plugin-Activation-2.6.1/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/faq-module-for-divi/includes/libraries/TGM-Plugin-Activation-2.6.1/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/faq-module-for-divi/includes/FaqModuleForDiviTheme.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/faq-module-for-divi/faq-module-for-divi.php:26
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
faq-module-for-divi/faq-module-for-divi.php 92% from 13 tests
The entry point to "Faq Module For Divi" version 2.1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected8,147 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 17 | 1,449 | 1,993 | 4,842 |
PHP | 8 | 608 | 1,841 | 2,517 |
Markdown | 4 | 185 | 0 | 778 |
JavaScript | 5 | 4 | 3 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 33.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 5 | 4.24% |
▷ Public methods | 95 | 80.51% |
▷ Protected methods | 23 | 19.49% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.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
PNG images were not found in this plugin