Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.74ms] Passed 4 tests
An overview of server-side resources used by CB Responsive jQuery Accordion
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.59 ▲0.65 |
Dashboard /wp-admin | 3.34 ▼0.01 | 47.87 ▼13.73 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.73 ▼3.46 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.22 ▼11.84 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.55 ▼1.91 |
FAQs /wp-admin/edit.php?post_type=cb_faqs | 3.30 | 36.18 |
Add New FAQ /wp-admin/post-new.php?post_type=cb_faqs | 3.38 | 48.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for CB Responsive jQuery Accordion
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲170 | 13.40 ▼0.96 | 9.76 ▲8.09 | 47.05 ▲8.44 |
Dashboard /wp-admin | 2,225 ▲51 | 5.58 ▼0.02 | 83.35 ▼5.88 | 39.25 ▼3.65 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 2.02 ▲0.07 | 36.45 ▼1.59 | 33.01 ▼4.06 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 23.23 ▲0.20 | 649.51 ▼11.01 | 54.05 ▼5.90 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.19 ▲0.01 | 95.94 ▼1.60 | 43.15 ▼1.84 |
FAQs /wp-admin/edit.php?post_type=cb_faqs | 1,100 | 1.96 | 30.42 | 29.70 |
Add New FAQ /wp-admin/post-new.php?post_type=cb_faqs | 2,253 | 7.79 | 166.97 | 62.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cb-responsive-jquery-accordion/inc/cb-faq-post.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/cb-responsive-jquery-accordion/index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: responsive accordion, wordpress responsive accordion with faq, cb responsive jquery accordion, wordpress jquery faq plugin, accordion...
cb-responsive-jquery-accordion/index.php 92% from 13 tests
The main PHP file in "CB Responsive jQuery Accordion" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cb-responsive-jquery-accordion.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected136 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 12 | 78 |
CSS | 1 | 3 | 0 | 46 |
JavaScript | 1 | 9 | 7 | 12 |
PHP code Passed 2 tests
An short overview of 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 | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin