Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼304.86ms] Passed 4 tests
A check of server-side resources used by FAQ plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.07 | 58.06 ▼2.84 |
Dashboard /wp-admin | 3.48 ▲0.07 | 32.67 ▼11.05 |
Posts /wp-admin/edit.php | 3.71 ▼0.20 | 38.94 ▼6.29 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 97.11 ▼1,199.25 |
Media Library /wp-admin/upload.php | 3.37 ▲0.07 | 23.72 ▼1.13 |
Help /wp-admin/edit.php?post_type=adonide_faq&page=adonide-faq-plugin/core/html-faq-page-postType.php | 3.34 | 21.74 |
Taxonomies /wp-admin/edit-tags.php?taxonomy=taxonomies&post_type=adonide_faq | 3.51 | 26.52 |
New Question /wp-admin/post-new.php?post_type=adonide_faq | 3.74 | 45.54 |
All questions /wp-admin/edit.php?post_type=adonide_faq | 3.47 | 27.49 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 1 new option
New WordPress options |
---|
faqPage_plugin_signature |
Browser metrics Passed 4 tests
FAQ 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 / | 3,914 ▲192 | 16.40 ▲1.10 | 13.00 ▲5.86 | 2.54 ▼0.29 |
Dashboard /wp-admin | 2,941 ▲83 | 6.18 ▲0.01 | 117.18 ▼27.81 | 222.41 ▲55.78 |
Posts /wp-admin/edit.php | 2,734 ▲46 | 3.13 ▼0.12 | 66.42 ▲2.74 | 143.56 ▲0.37 |
Add New Post /wp-admin/post-new.php | 1,665 ▼108 | 21.91 ▲0.91 | 379.08 ▼153.38 | 179.52 ▲10.79 |
Media Library /wp-admin/upload.php | 1,748 ▲53 | 5.56 ▲0.08 | 129.99 ▼23.27 | 225.13 ▲32.94 |
Help /wp-admin/edit.php?post_type=adonide_faq&page=adonide-faq-plugin/core/html-faq-page-postType.php | 1,321 | 3.26 | 61.92 | 127.53 |
Taxonomies /wp-admin/edit-tags.php?taxonomy=taxonomies&post_type=adonide_faq | 1,671 | 2.74 | 54.56 | 114.82 |
New Question /wp-admin/post-new.php?post_type=adonide_faq | 3,597 | 9.71 | 188.54 | 246.50 |
All questions /wp-admin/edit.php?post_type=adonide_faq | 1,453 | 3.17 | 59.90 | 113.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 1 option in the database
- faqPage_plugin_signature
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/adonide-faq-plugin/index.php
- > /wp-content/plugins/adonide-faq-plugin/core/updateList.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (FAQ plugin configuration panel)
adonide-faq-plugin/index.php 92% from 13 tests
Analyzing the main PHP file in "FAQ plugin" version 2.2.2
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("adonide-faq-plugin.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected7,338 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 1,467 | 1,033 | 6,677 |
PHP | 4 | 25 | 109 | 357 |
PO File | 2 | 91 | 122 | 153 |
CSS | 2 | 1 | 5 | 151 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
10 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/images/icon-32.png | 1.32KB | 1.26KB | ▼ 4.59% |
core/images/icon.png | 0.64KB | 0.67KB | 0.00% |
core/images/icon-128.png | 4.86KB | 3.05KB | ▼ 37.19% |
core/images/icon-24.png | 0.97KB | 0.94KB | ▼ 2.22% |
screenshot-1.png | 65.70KB | 29.98KB | ▼ 54.37% |