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.03MB] [CPU: ▼5.37ms] Passed 4 tests
An overview of server-side resources used by WP FAQ
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 45.59 ▼7.91 |
Dashboard /wp-admin | 3.34 ▲0.03 | 50.76 ▼0.31 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.15 ▼6.50 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.47 ▼6.74 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.66 ▲1.94 |
Add FAQ /wp-admin/post-new.php?post_type=wp_faq | 3.35 | 50.04 |
FAQs /wp-admin/edit.php?post_type=wp_faq | 3.30 | 40.37 |
Server storage [IO: ▲0.16MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP FAQ
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.35 ▼0.00 | 1.75 ▼0.04 | 44.03 ▼1.64 |
Dashboard /wp-admin | 2,222 ▲45 | 5.65 ▲0.05 | 93.40 ▼4.04 | 42.22 ▲0.13 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 2.04 ▲0.09 | 33.87 ▼2.80 | 33.35 ▼3.95 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 22.95 ▼0.24 | 651.14 ▼52.42 | 48.49 ▼3.02 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.16 ▲0.00 | 99.91 ▼5.91 | 44.80 ▲0.78 |
Add FAQ /wp-admin/post-new.php?post_type=wp_faq | 2,171 | 7.66 | 172.76 | 59.70 |
FAQs /wp-admin/edit.php?post_type=wp_faq | 1,091 | 1.97 | 33.45 | 28.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-faqs/faqs.php
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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: wp faq, faq, accordian faqs, simple faqs, toggle
wp-faqs/faqs.php 92% from 13 tests
"WP FAQ" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-faqs.php" instead of "faqs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin107 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 18 | 107 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 66.10KB | 25.95KB | ▼ 60.74% |
screenshot-1.png | 74.36KB | 28.71KB | ▼ 61.40% |
screenshot-3.png | 23.34KB | 11.80KB | ▼ 49.42% |