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.12MB] [CPU: ▼4.98ms] Passed 4 tests
Server-side resources used by WPMK FAQ
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 38.95 ▼3.34 |
Dashboard /wp-admin | 3.42 ▲0.12 | 51.87 ▼4.49 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 54.24 ▲0.71 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 86.41 ▼12.81 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.63 ▲1.87 |
WPMK FAQ /wp-admin/edit.php?post_type=wpmk-faq | 3.38 | 36.25 |
Tags /wp-admin/edit-tags.php?taxonomy=wpmk-faq-tag&post_type=wpmk-faq | 3.34 | 36.38 |
Add New FAQ /wp-admin/post-new.php?post_type=wpmk-faq | 3.46 | 54.54 |
Category /wp-admin/edit-tags.php?taxonomy=wpmk-faq-category&post_type=wpmk-faq | 3.34 | 39.26 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
wpmk_faq_skin |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WPMK FAQ
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲180 | 13.93 ▼0.30 | 7.34 ▲5.55 | 42.07 ▼1.38 |
Dashboard /wp-admin | 2,252 ▲78 | 5.77 ▲0.12 | 100.23 ▲5.97 | 43.20 ▲2.79 |
Posts /wp-admin/edit.php | 2,165 ▲65 | 2.45 ▲0.44 | 43.30 ▲1.45 | 40.13 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,577 ▲51 | 23.43 ▲0.03 | 604.67 ▼75.21 | 33.74 ▼26.98 |
Media Library /wp-admin/upload.php | 1,457 ▲57 | 4.43 ▲0.26 | 100.36 ▼4.64 | 44.37 ▼1.22 |
WPMK FAQ /wp-admin/edit.php?post_type=wpmk-faq | 1,162 | 2.22 | 37.78 | 29.95 |
Tags /wp-admin/edit-tags.php?taxonomy=wpmk-faq-tag&post_type=wpmk-faq | 1,314 | 2.05 | 32.00 | 31.55 |
Add New FAQ /wp-admin/post-new.php?post_type=wpmk-faq | 2,440 | 8.07 | 177.29 | 65.12 |
Category /wp-admin/edit-tags.php?taxonomy=wpmk-faq-category&post_type=wpmk-faq | 1,339 | 2.02 | 30.68 | 29.43 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
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 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
These attributes need your attention:
- Requires php: Invalid plugin version format
- Screenshots: Add an image for screenshot #1 (Skins with icons)
wpmk-faq/wpmk-faq.php 85% from 13 tests
"WPMK FAQ" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 225 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
No dangerous file extensions were detected3,091 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 5 | 81 | 218 | 305 |
CSS | 2 | 6 | 24 | 89 |
JavaScript | 2 | 8 | 12 | 26 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 31.88KB | 20.03KB | ▼ 37.17% |