Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼136.29ms] Passed 4 tests
A check of server-side resources used by Mhshohel Faq
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 38.87 ▲16.48 |
Dashboard /wp-admin | 3.13 ▲0.07 | 57.43 ▲3.84 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 49.15 ▲1.06 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 106.11 ▼541.76 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 37.52 ▼8.31 |
All faqs /wp-admin/edit.php?post_type=faq | 3.12 | 42.66 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=faq | 3.07 | 40.37 |
Add New /wp-admin/post-new.php?post_type=faq | 3.21 | 61.09 |
Documentation /wp-admin/admin.php?page=mhshohel-faq-documentation | 3.04 | 46.97 |
Faq Settings /wp-admin/admin.php?page=mhshohel-faq/settings_panel.php | 3.04 | 32.21 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
icon_style |
category_children |
count |
faq_acc_custom_css |
is_mhshohel_faq_activated |
load_place |
Browser metrics Passed 4 tests
An overview of browser requirements for Mhshohel Faq
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,908 ▲261 | 16.39 ▲0.81 | 16.68 ▲4.60 | 53.48 ▲1.53 |
Dashboard /wp-admin | 3,034 ▲100 | 5.94 ▼0.11 | 145.73 ▼16.20 | 147.66 ▲26.88 |
Posts /wp-admin/edit.php | 2,827 ▲88 | 2.71 ▼0.01 | 77.67 ▲0.57 | 99.52 ▲4.10 |
Add New Post /wp-admin/post-new.php | 1,731 ▲116 | 18.01 ▼2.87 | 424.69 ▲66.83 | 125.26 ▲7.05 |
Media Library /wp-admin/upload.php | 1,821 ▲14 | 5.03 ▲0.00 | 167.50 ▼1.56 | 167.23 ▲34.84 |
All faqs /wp-admin/edit.php?post_type=faq | 1,580 | 2.63 | 62.92 | 86.33 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=faq | 1,998 | 2.40 | 67.06 | 100.64 |
Add New /wp-admin/post-new.php?post_type=faq | 3,518 | 8.99 | 245.43 | 178.77 |
Documentation /wp-admin/admin.php?page=mhshohel-faq-documentation | 1,149 | 2.09 | 59.84 | 69.85 |
Faq Settings /wp-admin/admin.php?page=mhshohel-faq/settings_panel.php | 1,378 | 3.74 | 89.35 | 106.05 |
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
- load_place
- count
- is_mhshohel_faq_activated
- icon_style
- category_children
- faq_acc_custom_css
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mhshohel-faq/mhshohel-faq.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mhshohel-faq/documentation.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mhshohel-faq/settings_panel.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== mhshohel-faq ===
) - Screenshots: These screenshots do not have images: #2 (powered by jquery accordion), #3 (controll section)
mhshohel-faq/mhshohel-faq.php Passed 13 tests
"Mhshohel Faq" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
34 characters long description:
A brief description of the Plugin.
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
Success! There were no dangerous files found in this plugin1,347 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 34 | 49 | 1,094 |
PHP | 3 | 93 | 17 | 246 |
JavaScript | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 13 | |
▷ Named functions | 13 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |
asset/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
asset/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
asset/images/faq-icon.png | 1.85KB | 1.18KB | ▼ 36.19% |
asset/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |