Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.57ms] Passed 4 tests
Server-side resources used by Vie FAQ Collapsible Dropdown
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.03 ▼0.96 |
Dashboard /wp-admin | 3.32 ▲0.01 | 55.90 ▲4.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.51 ▼2.92 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.86 ▼15.83 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.02 ▲1.42 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Vie FAQ Collapsible Dropdown
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲36 | 14.72 ▲0.39 | 1.92 ▼0.08 | 41.18 ▲1.04 |
Dashboard /wp-admin | 2,191 ▲17 | 5.62 ▼0.01 | 90.02 ▲0.47 | 43.32 ▲0.62 |
Posts /wp-admin/edit.php | 2,102 ▲5 | 1.97 ▼0.04 | 36.30 ▼3.89 | 32.38 ▼6.97 |
Add New Post /wp-admin/post-new.php | 6,368 ▲4,841 | 27.49 ▲4.46 | 907.45 ▲305.17 | 36.56 ▼15.78 |
Media Library /wp-admin/upload.php | 1,399 ▲2 | 4.25 ▲0.08 | 98.84 ▼2.63 | 42.17 ▼2.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Contributors: Plugin contributors not specified
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in vie-faq-collapsible-dropdown/assets to your readme.txt
vie-faq-collapsible-dropdown/index.php 85% from 13 tests
The main file in "Vie FAQ Collapsible Dropdown" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("vie-faq-collapsible-dropdown.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 179 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin16,667 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 16,445 |
JavaScript | 3 | 6 | 3 | 102 |
CSS | 2 | 17 | 6 | 79 |
PHP | 2 | 12 | 23 | 41 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/arrow.png | 0.41KB | 0.35KB | ▼ 14.63% |