Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.39ms] Passed 4 tests
Analyzing server-side resources used by Accordion FAQ Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.74 ▼2.35 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.54 ▼0.10 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.53 ▼1.61 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.66 ▼21.51 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.11 ▲1.46 |
Accordion FAQs /wp-admin/edit.php?post_type=accordion_faq | 3.30 | 37.95 |
Add New /wp-admin/post-new.php?post_type=accordion_faq | 3.32 | 46.23 |
Server storage [IO: ▲1.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Accordion FAQ Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲102 | 13.73 ▼0.67 | 1.84 ▲0.10 | 39.90 ▼0.33 |
Dashboard /wp-admin | 2,263 ▲59 | 4.94 ▲0.02 | 104.42 ▼10.03 | 40.40 ▼0.08 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.09 ▲0.10 | 36.36 ▼4.06 | 34.89 ▼2.94 |
Add New Post /wp-admin/post-new.php | 1,396 ▼149 | 17.12 ▼6.18 | 578.55 ▼71.58 | 44.78 ▼7.77 |
Media Library /wp-admin/upload.php | 1,442 ▲45 | 4.33 ▲0.06 | 98.06 ▼4.66 | 42.57 ▼4.58 |
Accordion FAQs /wp-admin/edit.php?post_type=accordion_faq | 1,111 | 2.01 | 34.31 | 32.77 |
Add New /wp-admin/post-new.php?post_type=accordion_faq | 1,715 | 2.65 | 52.41 | 66.65 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=accordion_faq
- > Javascript (severe) in unknown
/wp-content/plugins/accordion-faq-builder/assets/js/admin-script.js?ver=0.3 150:12 Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: question, faq, animated faq, accordion, collapsible faq...
accordion-faq-builder/init.php 85% from 13 tests
The main PHP script in "Accordion FAQ Builder" version 0.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("accordion-faq-builder.php" instead of "init.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
No dangerous file extensions were detected9,456 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 2,517 | 40 | 5,653 |
JavaScript | 4 | 655 | 279 | 3,210 |
PHP | 11 | 96 | 167 | 533 |
PO File | 1 | 22 | 23 | 60 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 8.29 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 10 | 41.67% |
▷ Public methods | 18 | 75.00% |
▷ Protected methods | 4 | 16.67% |
▷ Private methods | 2 | 8.33% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin