Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.31ms] Passed 4 tests
Analyzing server-side resources used by Simple FAQs Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.66 ▼0.98 |
Dashboard /wp-admin | 3.36 ▲0.01 | 44.06 ▼12.94 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.79 ▼3.28 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.49 ▼20.02 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.63 ▲0.18 |
Simple FAQ Category /wp-admin/edit-tags.php?taxonomy=faq_category&post_type=simple-faqs | 3.28 | 32.32 |
Simple FAQs /wp-admin/edit.php?post_type=simple-faqs | 3.32 | 37.72 |
Add New /wp-admin/post-new.php?post_type=simple-faqs | 3.43 | 43.56 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Simple FAQs Plugin: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲65 | 13.25 ▼1.13 | 4.45 ▲2.49 | 44.06 ▲3.48 |
Dashboard /wp-admin | 2,242 ▲57 | 4.86 ▼0.03 | 108.93 ▲8.51 | 40.09 ▼4.25 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.00 ▲0.01 | 38.32 ▼3.39 | 35.68 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 17.43 ▼6.05 | 584.80 ▼43.22 | 66.00 ▲17.34 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.23 ▲0.03 | 97.45 ▼5.92 | 44.21 ▲0.02 |
Simple FAQ Category /wp-admin/edit-tags.php?taxonomy=faq_category&post_type=simple-faqs | 1,298 | 2.14 | 25.97 | 25.96 |
Simple FAQs /wp-admin/edit.php?post_type=simple-faqs | 1,086 | 1.98 | 32.23 | 29.49 |
Add New /wp-admin/post-new.php?post_type=simple-faqs | 2,319 | 7.80 | 167.12 | 66.73 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/simple-faqs/faq_generator.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-faqs/simple-faq.php:14
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: faq listing
simple-faqs/simple-faq.php 92% from 13 tests
The entry point to "Simple FAQs Plugin" version 2.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-faqs.php" instead of "simple-faq.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin585 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 26 | 2 | 288 |
PHP | 2 | 38 | 21 | 282 |
JavaScript | 3 | 0 | 12 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 10 | |
▷ Named functions | 10 | 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
16 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bookmark_heading_icon_green.png | 3.03KB | 0.40KB | ▼ 86.95% |
images/plus_icon_blue.png | 2.84KB | 0.15KB | ▼ 94.81% |
images/bookmark_icon_red.png | 3.02KB | 0.44KB | ▼ 85.45% |
images/bookmark_heading_icon_blue.png | 3.03KB | 0.40KB | ▼ 86.94% |
images/simple_Q_icon_blue.png | 3.61KB | 0.68KB | ▼ 81.16% |