Benchmarks
Plugin footprint 83% 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: ▲0.94MB] [CPU: ▼0.91ms] Passed 4 tests
Server-side resources used by Arconix FAQ
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.47 | 44.70 ▼1.75 |
Dashboard /wp-admin | 4.45 ▲1.15 | 61.44 ▼1.31 |
Posts /wp-admin/edit.php | 4.47 ▲1.11 | 54.92 ▲4.70 |
Add New Post /wp-admin/post-new.php | 6.98 ▲1.09 | 96.18 ▼5.26 |
Media Library /wp-admin/upload.php | 4.31 ▲1.08 | 53.11 ▲15.91 |
Add New /wp-admin/post-new.php?post_type=faq | 4.76 | 60.38 |
FAQ & Support /wp-admin/edit.php?post_type=faq&page=faq_support_page | 4.28 | 39.01 |
FAQ /wp-admin/edit.php?post_type=faq | 4.35 | 44.51 |
Frequently Asked Questions for Arconix FAQ /wp-admin/index.php?page=faq_faq_page | 4.28 | 39.98 |
Groups /wp-admin/edit-tags.php?taxonomy=group&post_type=faq | 4.30 | 43.60 |
Server storage [IO: ▲5.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 507 new files
Database: no new tables, 7 new options
New WordPress options |
---|
faq_version |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Arconix FAQ
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲121 | 14.42 ▲0.07 | 1.88 ▲0.02 | 37.21 ▼7.91 |
Dashboard /wp-admin | 2,273 ▲96 | 5.62 ▲0.04 | 94.08 ▼12.67 | 79.47 ▲31.73 |
Posts /wp-admin/edit.php | 2,197 ▲97 | 2.21 ▲0.22 | 40.01 ▼2.54 | 34.83 ▼4.25 |
Add New Post /wp-admin/post-new.php | 1,771 ▲243 | 24.22 ▲1.00 | 757.13 ▲116.14 | 52.31 ▼2.34 |
Media Library /wp-admin/upload.php | 1,490 ▲90 | 4.30 ▲0.07 | 103.72 ▼2.55 | 69.05 ▲24.95 |
Add New /wp-admin/post-new.php?post_type=faq | 2,485 | 7.90 | 189.43 | 158.23 |
FAQ & Support /wp-admin/edit.php?post_type=faq&page=faq_support_page | 936 | 2.14 | 30.98 | 45.98 |
FAQ /wp-admin/edit.php?post_type=faq | 1,182 | 2.19 | 37.85 | 32.91 |
Frequently Asked Questions for Arconix FAQ /wp-admin/index.php?page=faq_faq_page | 936 | 2.23 | 25.17 | 37.04 |
Groups /wp-admin/edit-tags.php?taxonomy=group&post_type=faq | 1,338 | 2.45 | 31.45 | 39.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- faq_version
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/arconix-faq/includes/metabox/apigen/hook-docs.php
- > /wp-content/plugins/arconix-faq/includes/metabox/tests/phpunit/includes/bootstrap.php
- 62× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/arconix-faq/includes/metabox/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/arconix-faq/includes/metabox/tests/cmb-tests-base.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arconix-faq/plugin.php:115
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/arconix-faq/includes/metabox/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/arconix-faq/includes/metabox/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/arconix-faq/includes/metabox/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/arconix-faq/includes/metabox/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/arconix-faq/includes/metabox/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/arconix-faq/includes/metabox/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/arconix-faq/includes/metabox/tests/cmb-tests-base.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: faq, faq plugin, toggle, accordion, arconix...
arconix-faq/plugin.php 92% from 13 tests
The main PHP script in "Arconix FAQ" version 1.9.2 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("arconix-faq.php" instead of "plugin.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 detected69,856 lines of code in 293 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 93 | 4,186 | 8,473 | 15,062 |
CSS | 20 | 478 | 1,297 | 5,969 |
JavaScript | 20 | 846 | 1,179 | 4,974 |
XML | 3 | 0 | 1 | 4,515 |
JSON | 5 | 0 | 0 | 4,356 |
Sass | 17 | 305 | 25 | 1,408 |
Markdown | 7 | 266 | 0 | 816 |
Bourne Shell | 4 | 67 | 45 | 209 |
YAML | 2 | 11 | 6 | 190 |
diff | 2 | 1 | 68 | 34 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 19.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 104 | |
▷ Abstract classes | 12 | 11.54% |
▷ Concrete classes | 92 | 88.46% |
▷ Final classes | 0 | 0.00% |
Methods | 1,065 | |
▷ Static methods | 171 | 16.06% |
▷ Public methods | 911 | 85.54% |
▷ Protected methods | 137 | 12.86% |
▷ Private methods | 17 | 1.60% |
Functions | 37 | |
▷ Named functions | 37 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 7 | 53.85% |
▷ Class constants | 6 | 46.15% |
▷ Public constants | 6 | 100.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
50 PNG files occupy 0.67MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/metabox/apigen/theme-bootstrap/src/resources/tree-hasnext.png | 0.13KB | 0.09KB | ▼ 31.25% |
includes/component/welcome-page/assets/images/icon-256x256.png | 104.10KB | 22.45KB | ▼ 78.43% |
includes/metabox/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/page-16x16.png | 0.33KB | 0.46KB | 0.00% |
screenshot-1.png | 15.89KB | 7.51KB | ▼ 52.74% |