Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.85MB] [CPU: ▼33.67ms] Passed 4 tests
Analyzing server-side resources used by Free Responsive Accordian FAQ and Question Answer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.12 | 39.30 ▼1.49 |
Dashboard /wp-admin | 3.09 ▼0.21 | 25.51 ▼22.57 |
Posts /wp-admin/edit.php | 3.09 ▼0.27 | 25.68 ▼22.45 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.80 | 24.19 ▼77.62 |
Media Library /wp-admin/upload.php | 3.09 ▼0.14 | 23.83 ▼12.04 |
Add New /wp-admin/post-new.php?post_type=vadi_faq | 3.09 | 23.31 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=vadi_faq_cat&post_type=vadi_faq | 3.09 | 24.42 |
FAQ ShortCode /wp-admin/edit.php?post_type=vadi_faq&page=vadi_faq_mnenu_shortcode | 3.09 | 22.63 |
All FAQ /wp-admin/edit.php?post_type=vadi_faq | 3.09 | 26.54 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Free Responsive Accordian FAQ and Question Answer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲218 | 13.60 ▼0.78 | 8.18 ▲6.26 | 35.94 ▼13.18 |
Dashboard /wp-admin | 2,244 ▲61 | 5.89 ▲0.94 | 97.03 ▼10.18 | 40.02 ▼4.58 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.00 ▼0.05 | 39.27 ▼1.27 | 41.60 ▲6.51 |
Add New Post /wp-admin/post-new.php | 1,568 ▲32 | 23.34 ▲0.20 | 602.11 ▲7.80 | 47.12 ▼2.07 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.21 ▲0.04 | 96.65 ▼2.81 | 42.16 ▼0.84 |
Add New /wp-admin/post-new.php?post_type=vadi_faq | 2,381 | 7.58 | 173.67 | 62.96 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=vadi_faq_cat&post_type=vadi_faq | 1,283 | 2.14 | 29.16 | 28.01 |
FAQ ShortCode /wp-admin/edit.php?post_type=vadi_faq&page=vadi_faq_mnenu_shortcode | 1,011 | 2.01 | 27.25 | 34.50 |
All FAQ /wp-admin/edit.php?post_type=vadi_faq | 1,119 | 1.93 | 29.52 | 28.99 |
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
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/vadi-faq/vadi-faq.php+120
Use of undefined constant vadi_faq_register_page_callback - assumed 'vadi_faq_register_page_callback' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=vadi_faq
- > Warning in wp-content/plugins/vadi-faq/vadi-faq.php+120
Use of undefined constant vadi_faq_register_page_callback - assumed 'vadi_faq_register_page_callback' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/post-new.php?post_type=vadi_faq
- > Notice in wp-content/plugins/vadi-faq/columns.php+67
Undefined index: post_type
- > GET request to /wp-admin/post-new.php?post_type=vadi_faq
- > Notice in wp-content/plugins/vadi-faq/columns.php+82
Undefined variable: my_fieldvalue
- > GET request to /wp-admin/edit-tags.php?taxonomy=vadi_faq_cat&post_type=vadi_faq
- > Notice in wp-content/plugins/vadi-faq/columns.php+47
Undefined variable: post_id
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 take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vadi-faq/columns.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/vadi-faq/shortcode.php:197
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vadi-faq/meta.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/vadi-faq/shortcodepage.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 20 tag instead of maximum 10
- Donate link: Invalid URI ("a_r_waheed@yahoo.com")
vadi-faq/vadi-faq.php Passed 13 tests
The main PHP file in "Free Responsive Accordian FAQ and Question Answer" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
118 characters long description:
A simplest and easiest way to add responsive accordion FAQ and question answer to your faq page or post with shortcode
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
Good job! No executable or dangerous file extensions detected809 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 98 | 35 | 536 |
JavaScript | 1 | 68 | 3 | 223 |
CSS | 1 | 29 | 4 | 50 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
17 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
designs/4.png | 4.82KB | 3.67KB | ▼ 23.95% |
images/down.png | 0.34KB | 0.48KB | 0.00% |
images/down-white.png | 2.98KB | 0.48KB | ▼ 83.85% |
images/plus.png | 0.96KB | 0.12KB | ▼ 87.18% |
designs/1.png | 3.65KB | 2.64KB | ▼ 27.69% |