Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.46ms] Passed 4 tests
A check of server-side resources used by FAQ Plus - WordPress FAQ Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.03 ▼2.31 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.62 ▼3.39 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 57.03 ▲12.90 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 88.48 ▼5.72 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.70 ▲9.58 |
Add New /wp-admin/post-new.php?post_type=faqp | 3.33 | 46.72 |
All FAQ /wp-admin/edit.php?post_type=faqp | 3.35 | 40.29 |
Setting /wp-admin/edit.php?post_type=faqp&page=faqp_setting | 3.27 | 34.90 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for FAQ Plus - WordPress FAQ Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,991 ▲256 | 16.70 ▲2.40 | 1.65 ▼0.29 | 40.81 ▼3.05 |
Dashboard /wp-admin | 2,397 ▲209 | 7.16 ▲1.15 | 146.56 ▲40.31 | 41.58 ▼2.14 |
Posts /wp-admin/edit.php | 2,449 ▲357 | 4.65 ▲2.66 | 66.31 ▲28.61 | 34.01 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 23.21 ▼0.43 | 625.77 ▼49.34 | 38.67 ▼12.99 |
Media Library /wp-admin/upload.php | 1,589 ▲201 | 4.94 ▲0.67 | 96.10 ▼5.85 | 40.31 ▼6.14 |
Add New /wp-admin/post-new.php?post_type=faqp | 1,856 | 5.30 | 76.39 | 40.87 |
All FAQ /wp-admin/edit.php?post_type=faqp | 1,418 | 4.60 | 55.15 | 26.82 |
Setting /wp-admin/edit.php?post_type=faqp&page=faqp_setting | 1,181 | 4.51 | 49.47 | 24.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/faq-plus/includes/admin_faqp_post_type_tax.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/faq-plus/includes/admin_faqp_menu.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/faq-plus/includes/faqp_admin_functions.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Requires at least: Version not formatted correctly
faq-plus/faq-plus.php Passed 13 tests
The entry point to "FAQ Plus - WordPress FAQ Plugin" version 1.0.0 is a PHP file that has certain tags in its header comment area
26 characters long description:
A faq plugin for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin657 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 22 | 71 | 359 |
JavaScript | 3 | 27 | 9 | 155 |
PO File | 1 | 34 | 42 | 84 |
CSS | 3 | 2 | 0 | 59 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
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 | 18 | |
▷ Named functions | 15 | 83.33% |
▷ Anonymous functions | 3 | 16.67% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin