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.04MB] [CPU: ▼6.80ms] Passed 4 tests
A check of server-side resources used by My WP FAQs
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.37 ▼6.74 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.23 ▼4.09 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.89 ▼4.98 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 83.31 ▼11.37 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.34 ▲3.90 |
Add New FAQ /wp-admin/post-new.php?post_type=faq-items | 3.39 | 49.88 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=faq_cat&post_type=faq-items | 3.26 | 36.22 |
FAQs /wp-admin/edit.php?post_type=faq-items | 3.31 | 34.70 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for My WP FAQs
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲191 | 13.87 ▼0.88 | 8.96 ▲6.97 | 39.20 ▼4.51 |
Dashboard /wp-admin | 2,241 ▲53 | 4.95 ▲0.10 | 107.53 ▲3.35 | 41.00 ▼1.59 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.25 ▲0.25 | 45.90 ▲3.75 | 50.53 ▲14.73 |
Add New Post /wp-admin/post-new.php | 1,701 ▲180 | 22.75 ▼0.36 | 658.32 ▲47.35 | 64.14 ▲17.99 |
Media Library /wp-admin/upload.php | 1,423 ▲41 | 4.27 ▲0.07 | 101.59 ▲3.03 | 47.26 ▲5.18 |
Add New FAQ /wp-admin/post-new.php?post_type=faq-items | 2,284 | 7.92 | 183.91 | 67.01 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=faq_cat&post_type=faq-items | 1,303 | 2.24 | 29.20 | 32.50 |
FAQs /wp-admin/edit.php?post_type=faq-items | 1,108 | 2.18 | 31.88 | 28.02 |
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_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-wp-faqs-list/main-functions.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: bootstrap faqs, jquery faqs, awesome faqs, post faqs list
my-wp-faqs-list/main-functions.php 85% from 13 tests
The entry point to "My WP FAQs" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 310 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("my-wp-faqs-list.php" instead of "main-functions.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
No dangerous file extensions were detected196 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 1 | 0 | 103 |
PHP | 1 | 27 | 8 | 92 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
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 | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin