Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼142.66ms] Passed 4 tests
This is a short check of server-side resources used by FAQs Made Easy
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 34.07 ▲12.26 |
Dashboard /wp-admin | 3.11 ▲0.05 | 43.28 ▲1.87 |
Posts /wp-admin/edit.php | 3.15 ▲0.05 | 42.32 ▲0.27 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 92.34 ▼566.48 |
Media Library /wp-admin/upload.php | 3.06 ▲0.05 | 32.11 ▼6.31 |
All Questions /wp-admin/edit.php?post_type=faqs | 3.11 | 35.43 |
Add New /wp-admin/post-new.php?post_type=faqs | 3.18 | 47.93 |
FAQ Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=faqs | 3.05 | 37.68 |
Settings /wp-admin/edit.php?post_type=faqs&page=faqs_made_easy | 3.01 | 30.69 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options |
---|
category_children |
Browser metrics Passed 4 tests
An overview of browser requirements for FAQs Made Easy
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,786 ▲190 | 16.13 ▲0.58 | 9.42 ▲1.15 | 51.92 ▲4.94 |
Dashboard /wp-admin | 3,045 ▲111 | 6.55 ▲0.63 | 166.91 ▲23.72 | 116.70 ▲7.09 |
Posts /wp-admin/edit.php | 2,711 ▼28 | 2.74 ▲0.05 | 65.31 ▲1.13 | 104.76 ▲10.86 |
Add New Post /wp-admin/post-new.php | 1,537 ▲39 | 18.48 ▼0.31 | 355.79 ▼13.59 | 130.06 ▲18.36 |
Media Library /wp-admin/upload.php | 1,882 ▲75 | 5.17 ▲0.19 | 133.77 ▼8.80 | 123.21 ▲5.42 |
All Questions /wp-admin/edit.php?post_type=faqs | 1,553 | 2.94 | 68.03 | 89.98 |
Add New /wp-admin/post-new.php?post_type=faqs | 3,378 | 9.19 | 213.03 | 145.51 |
FAQ Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=faqs | 1,990 | 2.71 | 62.72 | 106.67 |
Settings /wp-admin/edit.php?post_type=faqs&page=faqs_made_easy | 1,122 | 2.57 | 57.04 | 74.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 1 option in the database
- category_children
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit.php?post_type=faqs&page=faqs_made_easy
- > Notice in wp-content/plugins/faqs-made-easy/settings-api.php+50
Trying to access array offset on value of type bool
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
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/faqs-made-easy/shortcodes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/faqs-made-easy/settings-api.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/faqs-made-easy/main-file.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/faqs-made-easy/functions.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faqs&page=faqs_made_easy
- > Network (severe)
wp-content/plugins/faqs-made-easy/color-picker.js?ver=5.8.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
4 plugin tags: frequently asked questions, wordpress, faqs, faqs made easy
faqs-made-easy/main-file.php 92% from 13 tests
"FAQs Made Easy" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("faqs-made-easy.php" instead of "main-file.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin674 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 73 | 57 | 456 |
PHP | 4 | 86 | 29 | 209 |
JavaScript | 2 | 7 | 3 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin