Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.24MB] [CPU: ▼9.69ms] Passed 4 tests
This is a short check of server-side resources used by Ask FAQ
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.48 ▼0.42 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.05 ▼4.84 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.96 ▲6.83 |
Add New Post /wp-admin/post-new.php | 4.85 ▼1.04 | 51.35 ▼40.31 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.67 ▲7.61 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Ask FAQ
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲87 | 14.32 ▼0.32 | 20.93 ▲19.09 | 46.78 ▲1.01 |
Dashboard /wp-admin | 2,192 ▲18 | 5.60 ▲0.06 | 93.15 ▼6.56 | 39.35 ▼4.83 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.01 | 40.75 ▲4.17 | 37.17 ▼4.27 |
Add New Post /wp-admin/post-new.php | 6,374 ▲4,848 | 28.06 ▲5.25 | 988.94 ▲339.54 | 67.00 ▲17.22 |
Media Library /wp-admin/upload.php | 1,397 ▲3 | 4.34 ▲0.15 | 104.77 ▲3.00 | 47.51 ▲1.75 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
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 | 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ask-faq/ask-faq.php:19
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: faq block, accordion block, tab block, faq, accordion...
ask-faq/ask-faq.php 85% from 13 tests
The entry point to "Ask FAQ" version 0.0.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Requires PHP: The required version number must match the one declared in readme.txt ("5.4" instead of "7.0")
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected6,006 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 386 | 1,403 | 4,335 |
CSS | 4 | 27 | 29 | 1,378 |
JSON | 3 | 0 | 0 | 152 |
PO File | 1 | 37 | 63 | 103 |
PHP | 4 | 7 | 15 | 38 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 5 | |
▷ Named functions | 5 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected