Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼1.93ms] Passed 4 tests
Analyzing server-side resources used by Accordion FAQ
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 39.21 ▼4.39 |
Dashboard /wp-admin | 3.48 ▲0.18 | 44.82 ▼6.84 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 50.25 ▲4.93 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 92.18 ▲1.12 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.02 ▲2.39 |
Server storage [IO: ▲1.83MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 44 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_elfsight_faq_widgets |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Accordion FAQ
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.31 ▼1.07 | 4.04 ▲2.18 | 43.31 ▼4.79 |
Dashboard /wp-admin | 2,221 ▲30 | 5.80 ▼0.08 | 101.09 ▼7.13 | 80.93 ▲39.47 |
Posts /wp-admin/edit.php | 2,101 ▲15 | 1.98 ▼0.06 | 38.76 ▲0.12 | 37.48 ▲2.25 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 23.19 ▲5.51 | 671.46 ▼4.68 | 49.99 ▼1.79 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.16 ▼0.05 | 99.78 ▼9.10 | 73.52 ▲25.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_elfsight_faq_widgets
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP 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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: accordion faq, faq plugin, wordpress faq, faq, responsive faq
elfsight-faq/elfsight-faq.php Passed 13 tests
"Accordion FAQ" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
84 characters long description:
Anticipate your clients’ questions and eliminate their doubts with easy-to-use FAQ
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 detected1,004 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 238 | 10 | 759 |
JSON | 1 | 0 | 0 | 228 |
HTML | 1 | 0 | 0 | 12 |
JavaScript | 4 | 9 | 35 | 4 |
CSS | 1 | 3 | 7 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 20.67 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
16 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 1.40KB | 1.41KB | 0.00% |
assets/img/icon-check-green-small.png | 1.08KB | 0.30KB | ▼ 72.64% |
assets/img/icon-remove-light-small.png | 1.12KB | 0.32KB | ▼ 71.45% |
assets/img/icon-remove-dark-small.png | 1.13KB | 0.32KB | ▼ 71.55% |
assets/img/icon-star-blue.png | 2.44KB | 1.77KB | ▼ 27.48% |