Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/ak-bootstrap-faq/include/api/inc/number-to-word.php+8
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.90MB] [CPU: ▼52.26ms] Passed 4 tests
Server-side resources used by AK Bootstrap FAQ
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 6.25 ▼34.96 |
Dashboard /wp-admin | 2.11 ▼1.20 | 8.09 ▼41.28 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 6.97 ▼43.36 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 5.70 ▼89.42 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 5.47 ▼31.15 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=akbootstrapfaq | 2.11 | 6.43 |
Add New /wp-admin/post-new.php?post_type=akbootstrapfaq | 2.11 | 6.75 |
AK Bootstrap FAQ setting page /wp-admin/edit.php?post_type=akbootstrapfaq&page=akbootstrapfaq-setting-page | 2.11 | 6.88 |
AK Bootstrap FAQ /wp-admin/edit.php?post_type=akbootstrapfaq | 2.11 | 6.10 |
Server storage [IO: ▲12.97MB] [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: 63 new files
Database: no new tables, 7 new options
New WordPress options |
---|
category_children |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AK Bootstrap FAQ
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲150 | 13.67 ▼0.93 | 11.20 ▲9.02 | 53.23 ▲2.47 |
Dashboard /wp-admin | 2,249 ▲72 | 5.74 ▲0.06 | 86.66 ▼11.88 | 36.21 ▼8.73 |
Posts /wp-admin/edit.php | 2,156 ▲56 | 2.30 ▲0.31 | 34.75 ▼0.27 | 33.34 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,569 ▲41 | 23.12 ▼0.09 | 617.94 ▼91.09 | 34.11 ▼22.83 |
Media Library /wp-admin/upload.php | 1,457 ▲60 | 4.45 ▲0.25 | 100.15 ▲0.76 | 43.51 ▲0.00 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=akbootstrapfaq | 1,517 | 2.06 | 32.17 | 32.09 |
Add New /wp-admin/post-new.php?post_type=akbootstrapfaq | 2,329 | 7.74 | 169.70 | 62.84 |
AK Bootstrap FAQ setting page /wp-admin/edit.php?post_type=akbootstrapfaq&page=akbootstrapfaq-setting-page | 1,956 | 3.02 | 76.72 | 26.75 |
AK Bootstrap FAQ /wp-admin/edit.php?post_type=akbootstrapfaq | 1,158 | 2.21 | 32.87 | 28.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/ak-bootstrap-faq/include/api/inc/number-to-word.php+8
Array and string offset access syntax with curly braces is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- category_children
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 40 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=akbootstrapfaq
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/ak-bootstrap-faq/include/api/inc/number-to-word.php+58
Array and string offset access syntax with curly braces is deprecated
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 take a closer look at the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function query_posts() in wp-content/plugins/ak-bootstrap-faq/include/api/template/normal-frontend.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ak-bootstrap-faq/include/api/add-to-head.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/ak-bootstrap-faq/include/pages/settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_categories() in wp-content/plugins/ak-bootstrap-faq/include/api/template/category-frontend.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ak-bootstrap-faq/ak-bootstrap-faq.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ak-bootstrap-faq/include/api/loop-shortcode.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ak-bootstrap-faq/include/api/post-type.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
- Screenshots: Please add images for these screenshots: #1 (FAQs page.), #2 (Settings page.), #3 (Normal view.), #4 (category view.), #5 (Design change.)
ak-bootstrap-faq/ak-bootstrap-faq.php Passed 13 tests
The main PHP script in "AK Bootstrap FAQ" version 1.0 is automatically included on every request by WordPress
84 characters long description:
Bootstrap FAQ plugin integrated with Custom Post Type. Shortcode [ak_bootstrap_faq].
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
No dangerous file extensions were detected13,613 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 8 | 24 | 8,248 |
JavaScript | 3 | 579 | 197 | 1,556 |
Sass | 13 | 23 | 24 | 1,256 |
LESS | 13 | 23 | 33 | 1,247 |
SVG | 2 | 0 | 0 | 808 |
PHP | 8 | 32 | 12 | 498 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 14 | |
▷ Named functions | 14 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 11.67MB with 11.55MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-5.png | 787.34KB | 6.80KB | ▼ 99.14% |
assets/screenshot-2.png | 1,998.38KB | 24.11KB | ▼ 98.79% |
screenshot-5.png | 787.34KB | 6.80KB | ▼ 99.14% |
assets/screenshot-1.png | 1,036.34KB | 14.07KB | ▼ 98.64% |
assets/screenshot-4.png | 1,353.25KB | 10.35KB | ▼ 99.24% |