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.05MB] [CPU: ▼12.43ms] Passed 4 tests
This is a short check of server-side resources used by Init FAQ
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 43.36 ▲0.54 |
Dashboard /wp-admin | 3.36 ▲0.02 | 45.56 ▼17.27 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 48.71 ▼3.97 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 80.17 ▼29.00 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.78 ▲2.50 |
FAQs Category /wp-admin/edit-tags.php?taxonomy=init-faqs-cat&post_type=init-faqs | 3.28 | 33.97 |
Add New /wp-admin/post-new.php?post_type=init-faqs | 3.41 | 51.67 |
All FAQs /wp-admin/edit.php?post_type=init-faqs | 3.33 | 36.21 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Init FAQ
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲171 | 13.90 ▼0.68 | 8.34 ▲6.75 | 38.81 ▲1.04 |
Dashboard /wp-admin | 2,234 ▲43 | 5.85 ▲0.03 | 100.24 ▼4.32 | 41.45 ▼0.14 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 2.00 ▼0.17 | 40.72 ▼3.09 | 36.67 ▼4.29 |
Add New Post /wp-admin/post-new.php | 1,559 ▲29 | 23.10 ▲4.47 | 674.86 ▲64.44 | 52.08 ▼10.47 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.20 ▼0.08 | 94.40 ▼3.74 | 43.24 ▲0.77 |
FAQs Category /wp-admin/edit-tags.php?taxonomy=init-faqs-cat&post_type=init-faqs | 1,296 | 2.14 | 25.72 | 28.56 |
Add New /wp-admin/post-new.php?post_type=init-faqs | 2,319 | 7.66 | 170.72 | 62.32 |
All FAQs /wp-admin/edit.php?post_type=init-faqs | 1,097 | 1.94 | 30.53 | 28.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% 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:
- Screenshots: These screenshots require images: #1 (All Faqs
[init_faqs]
), #2 (Faq With Category[init_faqs category="11"]
), #3 (Faq With Parent Category[init_faqs category="13"]
), #4 (Faq With Category List[init_faqs category_list="1"]
) - Requires at least: Version format is invalid
- Tags: You are using too many tags: 14 tag instead of maximum 10
init-faqs/init-faqs.php 92% from 13 tests
The main PHP file in "Init FAQ" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 193 characters long)
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
Everything looks great! No dangerous files found in this plugin282 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 72 | 26 | 218 |
JavaScript | 1 | 16 | 0 | 42 |
CSS | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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 | 6 | |
▷ Named functions | 6 | 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
8 PNG files occupy 0.14MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 29.35KB | 14.97KB | ▼ 48.99% |
css/images/close_faq.png | 0.18KB | 0.08KB | ▼ 53.89% |
css/images/close_faq_hover.png | 0.18KB | 0.08KB | ▼ 53.89% |
screenshot-4.png | 43.83KB | 21.39KB | ▼ 51.20% |
css/images/open_faq.png | 0.20KB | 0.09KB | ▼ 53.47% |