Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.92MB] [CPU: ▼60.03ms] Passed 4 tests
This is a short check of server-side resources used by WP FAQS jQuery Slide
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.60 ▼36.54 |
Dashboard /wp-admin | 2.09 ▼1.25 | 6.53 ▼59.39 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 7.28 ▼37.25 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 6.18 ▼106.92 |
Media Library /wp-admin/upload.php | 2.09 ▼1.13 | 6.14 ▼32.20 |
Add New /wp-admin/post-new.php?post_type=faq | 2.09 | 5.98 |
Faq Categories /wp-admin/edit-tags.php?taxonomy=faq_category&post_type=faq | 2.10 | 6.98 |
All Faqs /wp-admin/edit.php?post_type=faq | 2.10 | 6.35 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP FAQS jQuery Slide
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,007 ▲236 | 13.44 ▼0.91 | 8.42 ▲6.32 | 50.96 ▲9.11 |
Dashboard /wp-admin | 2,194 ▲5 | 4.69 ▼0.27 | 57.09 ▼60.85 | 34.62 ▼15.32 |
Posts /wp-admin/edit.php | 2,125 ▲33 | 1.87 ▼0.13 | 21.87 ▼25.73 | 28.97 ▼8.27 |
Add New Post /wp-admin/post-new.php | 1,299 ▼231 | 14.66 ▼3.79 | 453.82 ▼209.12 | 37.41 ▼13.64 |
Media Library /wp-admin/upload.php | 1,093 ▼289 | 3.39 ▼0.81 | 54.39 ▼46.90 | 26.63 ▼14.44 |
Add New /wp-admin/post-new.php?post_type=faq | 2,436 | 6.36 | 122.33 | 52.55 |
Faq Categories /wp-admin/edit-tags.php?taxonomy=faq_category&post_type=faq | 1,340 | 1.90 | 17.26 | 28.86 |
All Faqs /wp-admin/edit.php?post_type=faq | 1,167 | 2.07 | 21.02 | 27.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wptuts-jquery-ui-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wptuts-jquery-ui-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wptuts-jquery-ui-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wptuts-custom-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wptuts-custom-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-faqs-jquery-slide/wp-faqs-jquery-slide.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-faqs-jquery-slide/wp-faqs-jquery-slide/wp-faqs-jquery-slide.php:57
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq
- > Javascript (severe) in unknown
/wp-admin/js/common.min.js?ver=6.3.1 1:6139 Uncaught TypeError: W(...).on is not a function
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq
- > Javascript (severe) in unknown
/wp-includes/js/heartbeat.min.js?ver=6.3.1 1:5086 Uncaught TypeError: i.on is not a function
- > GET request to /wp-admin/post-new.php?post_type=faq
- > Javascript (severe) in unknown
/wp-includes/js/autosave.min.js?ver=6.3.1 1:3354 Uncaught TypeError: c(...).on is not a function
- > GET request to /wp-admin/post-new.php?post_type=faq
- > Javascript (severe) in unknown
/wp-includes/js/jquery/jquery.color.min.js?ver=2.2.0 2:5824 Uncaught TypeError: Cannot set properties of undefined (setting 'backgroundColor')
- > GET request to /wp-admin/post-new.php?post_type=faq
- > Javascript (severe) in unknown
/wp-includes/js/jquery/ui/mouse.min.js?ver=1.13.2 8:158 Uncaught TypeError: o(...).on is not a function
- > GET request to /wp-admin/post-new.php?post_type=faq
- > Javascript (severe) in unknown
/wp-includes/js/jquery/ui/sortable.min.js?ver=1.13.2 8:175 Uncaught TypeError: Cannot read properties of undefined (reading 'mouse')
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq
- > Javascript (severe) in unknown
/wp-includes/js/jquery/ui/menu.min.js?ver=1.13.2 8:139 Uncaught TypeError: a.widget is not a function
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq
- > Javascript (severe) in unknown
/wp-includes/js/jquery/ui/autocomplete.min.js?ver=1.13.2 8:148 Uncaught TypeError: o.widget is not a function
- > GET request to /wp-admin/post-new.php?post_type=faq
- > Javascript (severe) in unknown
/wp-admin/js/post.min.js?ver=6.3.1 1:1613 Uncaught TypeError: s(...).on is not a function
- > GET request to /wp-admin/post-new.php?post_type=faq
- > Javascript (severe) in unknown
/wp-includes/js/media-models.min.js?ver=6.3.1 1:13316 Uncaught TypeError: o(...).on is not a function
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq
- > Javascript (severe) in unknown
/wp-includes/js/wp-auth-check.min.js?ver=6.3.1 1:502 Uncaught TypeError: i(...).on is not a function
- > GET request to /wp-admin/post-new.php?post_type=faq
- > Javascript (severe) in unknown
/wp-admin/js/editor.min.js?ver=6.3.1 1:10699 Uncaught TypeError: g(...).on is not a function
- > GET request to /wp-admin/post-new.php?post_type=faq
- > Javascript (severe) in unknown
/wp-admin/js/media-upload.min.js?ver=6.3.1 1:1069 Uncaught TypeError: d(...).on is not a function
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=faq
- > Javascript (severe) in unknown
/wp-admin/js/common.min.js?ver=6.3.1 1:3796 Uncaught TypeError: W(...).on is not a function
- > GET request to /wp-admin/edit.php?post_type=faq
- > Javascript (severe) in unknown
/wp-admin/js/inline-edit-post.min.js?ver=6.3.1 1:7679 Uncaught TypeError: u(...).on is not a function
Optimizations
Plugin configuration Passed 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
8 plugin tags: tab, accordion, jquery, wordpress faq, faq...
wp-faqs-jquery-slide/wp-faqs-jquery-slide.php Passed 13 tests
The main PHP script in "WP FAQS jQuery Slide" version 1.1 is automatically included on every request by WordPress
51 characters long description:
This plugin is used to show list of register users.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin4,522 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 1,155 | 785 | 4,316 |
PHP | 2 | 22 | 33 | 182 |
CSS | 1 | 0 | 0 | 24 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.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
6 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plus_minus.png | 5.27KB | 2.28KB | ▼ 56.77% |
wp-faqs-jquery-slide/screenshot-2.png | 14.57KB | 9.88KB | ▼ 32.23% |
wp-faqs-jquery-slide/images/plus_minus.png | 5.27KB | 2.28KB | ▼ 56.77% |
screenshot-1.png | 18.66KB | 9.17KB | ▼ 50.84% |
wp-faqs-jquery-slide/screenshot-1.png | 18.66KB | 9.17KB | ▼ 50.84% |