Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼2.54ms] Passed 4 tests
A check of server-side resources used by Easy & simple FAQ
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.64 ▼4.90 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.84 ▲2.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.90 ▼1.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.86 ▼4.76 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.46 ▲0.89 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
webcomet_settings |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy & simple FAQ
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲15 | 14.72 ▲0.76 | 1.66 ▼0.47 | 40.90 ▼6.69 |
Dashboard /wp-admin | 2,210 ▲33 | 5.58 ▼0.08 | 83.76 ▼4.99 | 40.85 ▼1.39 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.99 ▼0.03 | 38.59 ▼2.65 | 35.48 ▼4.93 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.21 ▲0.21 | 674.32 ▼23.95 | 62.33 ▼0.13 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.27 ▲0.05 | 99.80 ▼10.27 | 49.04 ▲3.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-simple-faq/easy-and-simple-faq.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function webcomet_get_iframe_url() in wp-content/plugins/easy-simple-faq/views/edit.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7, #8, #9 in easy-simple-faq/assets to your readme.txt
easy-simple-faq/easy-and-simple-faq.php 85% from 13 tests
Analyzing the main PHP file in "Easy & simple FAQ" version 1.0.3
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easy-simple-faq.php" instead of "easy-and-simple-faq.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 193 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected173 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 34 | 9 | 141 |
JavaScript | 1 | 1 | 0 | 32 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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