Benchmarks
Plugin footprint 83% 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.03MB] [CPU: ▼3.31ms] Passed 4 tests
An overview of server-side resources used by WP Simple FAQ
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.27 ▼3.81 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.29 ▲2.89 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.92 ▼3.06 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.76 ▼9.26 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.52 ▲6.59 |
All FAQ's /wp-admin/edit.php?post_type=faq | 3.30 | 32.44 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=faq_cat&post_type=faq | 3.34 | 40.93 |
Add New /wp-admin/post-new.php?post_type=faq | 3.40 | 50.51 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
WP Simple FAQ: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲201 | 13.71 ▼0.68 | 6.44 ▲4.70 | 42.26 ▼3.40 |
Dashboard /wp-admin | 2,239 ▲53 | 5.85 ▼0.06 | 107.18 ▲0.42 | 73.21 ▲32.39 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.02 ▲0.04 | 38.05 ▼4.75 | 34.42 ▼1.28 |
Add New Post /wp-admin/post-new.php | 1,699 ▲164 | 22.34 ▼0.79 | 720.62 ▲55.51 | 52.83 ▼1.17 |
Media Library /wp-admin/upload.php | 1,423 ▲38 | 4.10 ▼0.11 | 95.70 ▼9.40 | 65.52 ▲20.85 |
All FAQ's /wp-admin/edit.php?post_type=faq | 1,094 | 1.99 | 30.91 | 29.04 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=faq_cat&post_type=faq | 1,295 | 2.28 | 26.32 | 30.44 |
Add New /wp-admin/post-new.php?post_type=faq | 2,263 | 7.59 | 177.39 | 136.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-simple-faq/wp_simple_faq.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=faq
- > Network (severe)
wp-admin//images/press-this.png - 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
9 plugin tags: frequently asked questions, knowledgebase, simple faq, faq widget, faqs...
wp-simple-faq/wp_simple_faq.php 92% from 13 tests
The entry point to "WP Simple FAQ" version 1.4.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-simple-faq.php" instead of "wp_simple_faq.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,191 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 34 | 49 | 1,094 |
PHP | 1 | 29 | 17 | 94 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin