Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.82ms] Passed 4 tests
This is a short check of server-side resources used by Faq in minute
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 50.01 ▲5.11 |
Dashboard /wp-admin | 3.37 ▲0.07 | 50.66 ▼1.81 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 46.69 ▼7.53 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 83.27 ▼12.65 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.27 ▲2.72 |
FAQ Settings /wp-admin/edit.php?post_type=faq_in_minute_cat&page=faq_in_minute_cat | 3.24 | 35.19 |
faqcategory /wp-admin/edit-tags.php?taxonomy=faqcategory&post_type=faq_in_minute_cat | 3.29 | 36.15 |
All Items /wp-admin/edit.php?post_type=faq_in_minute_cat | 3.35 | 37.90 |
Add New /wp-admin/post-new.php?post_type=faq_in_minute_cat | 3.46 | 60.47 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=faq_in_minute_cat | 3.29 | 36.55 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=faq_in_minute_cat | 3.29 | 41.91 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
category_children |
Browser metrics Passed 4 tests
Checking browser requirements for Faq in minute
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲177 | 13.62 ▼0.91 | 12.24 ▲10.31 | 50.04 ▲1.84 |
Dashboard /wp-admin | 2,257 ▲83 | 5.83 ▲0.24 | 91.95 ▼9.19 | 38.00 ▼4.93 |
Posts /wp-admin/edit.php | 2,164 ▲64 | 2.26 ▲0.26 | 36.19 ▼0.94 | 36.66 ▲2.11 |
Add New Post /wp-admin/post-new.php | 1,575 ▲49 | 23.21 ▼0.41 | 647.71 ▼45.50 | 35.53 ▼38.46 |
Media Library /wp-admin/upload.php | 1,462 ▲62 | 4.42 ▲0.27 | 99.71 ▼8.81 | 42.40 ▼2.74 |
FAQ Settings /wp-admin/edit.php?post_type=faq_in_minute_cat&page=faq_in_minute_cat | 1,088 | 2.59 | 46.35 | 26.57 |
faqcategory /wp-admin/edit-tags.php?taxonomy=faqcategory&post_type=faq_in_minute_cat | 1,341 | 2.05 | 32.06 | 31.43 |
All Items /wp-admin/edit.php?post_type=faq_in_minute_cat | 1,230 | 2.36 | 34.28 | 29.64 |
Add New /wp-admin/post-new.php?post_type=faq_in_minute_cat | 3,151 | 8.30 | 181.57 | 77.65 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=faq_in_minute_cat | 1,389 | 2.04 | 32.95 | 31.56 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=faq_in_minute_cat | 1,525 | 2.06 | 34.13 | 34.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- category_children
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq_in_minute_cat&page=faq_in_minute_cat
- > Notice in wp-content/plugins/faq-in-minute/faq_all.php+132
Trying to access array offset on value of type bool
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/faq-in-minute/faq.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/faq-in-minute/faq_all.php:78
- > 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 87% 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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Add Faq From admin panel), #2 (Display all Faq in website), #3 (Faq with custom color), #4 (FAQ color,font Settings in admin), #5 (Default faq list), #6 (Display Faq with Category wise)
- Tags: You are using too many tags: 16 tag instead of maximum 10
faq-in-minute/faq_all.php 85% from 13 tests
The primary PHP file in "Faq in minute" version 2.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 283 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("faq-in-minute.php" instead of "faq_all.php")
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin227 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 33 | 14 | 222 |
JavaScript | 2 | 0 | 5 | 4 |
CSS | 1 | 0 | 4 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.37MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 87.96KB | 25.62KB | ▼ 70.87% |
screenshot-1.png | 53.15KB | 20.81KB | ▼ 60.85% |
screenshot-5.png | 27.00KB | 8.46KB | ▼ 68.65% |
images/secoendaccordingtab.png | 1.55KB | 0.51KB | ▼ 67.21% |
screenshot-6.png | 96.10KB | 27.15KB | ▼ 71.75% |