Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.30ms] Passed 4 tests
An overview of server-side resources used by WP Best FAQ
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.06 ▼4.71 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.91 ▼11.04 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 51.46 ▲4.17 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 83.53 ▼12.11 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 37.49 ▲2.65 |
Add New /wp-admin/post-new.php?post_type=faq | 3.40 | 47.13 |
FAQ /wp-admin/edit.php?post_type=faq | 3.33 | 35.78 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Best FAQ
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲122 | 13.28 ▼1.09 | 1.92 ▲0.15 | 46.02 ▼4.14 |
Dashboard /wp-admin | 2,233 ▲48 | 4.85 ▼0.19 | 101.90 ▼19.00 | 39.22 ▼3.09 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 1.98 ▲0.00 | 39.65 ▲2.67 | 34.21 ▲1.24 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 23.24 ▲0.11 | 682.67 ▼6.09 | 61.40 ▼0.04 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.19 ▲0.03 | 94.79 ▼14.87 | 42.81 ▼3.78 |
Add New /wp-admin/post-new.php?post_type=faq | 2,205 | 7.60 | 172.70 | 63.81 |
FAQ /wp-admin/edit.php?post_type=faq | 1,080 | 1.96 | 34.74 | 27.27 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-best-faq/wp-best-faq.php:191
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Donate link: Invalid URI ("")
- Screenshots: These screenshots lack descriptions #2, #2 in wp-best-faq/assets to your readme.txt
wp-best-faq/wp-best-faq.php Passed 13 tests
The entry point to "WP Best FAQ" version 1.0.0 is a PHP file that has certain tags in its header comment area
105 characters long description:
This plugin is used for create post faq display accordian shortcode in front side it is easy to modified.
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
Everything looks great! No dangerous files found in this plugin237 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 65 | 156 | 179 |
CSS | 1 | 20 | 33 | 43 |
JavaScript | 1 | 4 | 15 | 15 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 28.57% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/faq-16x16.png | 0.73KB | 0.66KB | ▼ 9.60% |
images/github-16x16.png | 1.18KB | 1.01KB | ▼ 14.50% |
images/faq-32x32.png | 4.87KB | 1.72KB | ▼ 64.75% |
images/toggle-close.png | 0.29KB | 0.34KB | 0.00% |
images/page-16x16.png | 0.33KB | 0.46KB | 0.00% |