Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼5.15ms] Passed 4 tests
An overview of server-side resources used by WPSSO FAQ Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 42.18 ▲7.31 |
Dashboard /wp-admin | 3.46 ▲0.15 | 49.29 ▼2.01 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 46.77 ▼5.00 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 82.94 ▼14.58 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 35.82 ▲1.01 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WPSSO FAQ Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.25 ▼0.46 | 1.64 ▲0.14 | 44.92 ▲5.29 |
Dashboard /wp-admin | 2,198 ▲20 | 5.51 ▼0.17 | 98.62 ▼2.71 | 42.64 ▲0.26 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.95 ▼0.05 | 37.37 ▼4.43 | 33.44 ▼3.53 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.19 ▲0.05 | 680.41 ▲35.99 | 51.13 ▲2.42 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.26 ▲0.04 | 98.76 ▼0.66 | 43.02 ▲2.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 15× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/wpsso-faq/lib/style.php
- > /wp-content/plugins/wpsso-faq/lib/term.php
- > /wp-content/plugins/wpsso-faq/lib/filters-messages.php
- > /wp-content/plugins/wpsso-faq/lib/config.php
- > /wp-content/plugins/wpsso-faq/lib/abstract/com/add-on.php
- > /wp-content/plugins/wpsso-faq/lib/register.php
- > /wp-content/plugins/wpsso-faq/lib/filters.php
- > /wp-content/plugins/wpsso-faq/lib/submenu/faq-settings.php
- > /wp-content/plugins/wpsso-faq/lib/shortcode/question.php
- > /wp-content/plugins/wpsso-faq/lib/post.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
wpsso-faq/wpsso-faq.php Passed 13 tests
Analyzing the main PHP file in "WPSSO FAQ Manager" version 5.0.0
120 characters long description:
Create FAQ and Question / Answer Pages with optional shortcodes to include FAQs and Questions / Answers in your content.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,497 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 600 | 282 | 1,163 |
PO File | 1 | 95 | 98 | 235 |
HTML | 4 | 51 | 0 | 63 |
Markdown | 1 | 17 | 0 | 36 |
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.37 |
Average class complexity | 11.62 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 2 | 15.38% |
▷ Concrete classes | 11 | 84.62% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 12 | 17.65% |
▷ Public methods | 58 | 85.29% |
▷ Protected methods | 5 | 7.35% |
▷ Private methods | 5 | 7.35% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-256x256.png | 50.73KB | 21.76KB | ▼ 57.11% |
images/icon-128x128.png | 19.20KB | 8.58KB | ▼ 55.30% |