84% faq-schema-ultimate

Code Review | Ultimate FAQ Schema - Best Responsive Accordion, Tab, and Slider FAQ Solution (Elementor, Gutenberg Support)

WordPress plugin Ultimate FAQ Schema - Best Responsive Accordion, Tab, and Slider FAQ Solution (Elementor, Gutenberg Support) scored84%from 54 tests.

About plugin

  • Plugin page: faq-schema-ultimate
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2.4-6.2
  • WordPress version: 6.3.1
  • First release: Dec 13, 2021
  • Latest release: Jun 11, 2023
  • Number of updates: 16
  • Update frequency: every 35.3 days
  • Top authors: frohadpro (62.5%)wpqode (43.75%)

Code review

54 tests

User reviews

8 reviews

Install metrics

1,000+ active /5,619 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲1.41MB] [CPU: ▲2.64ms] Passed 4 tests

Server-side resources used by Ultimate FAQ Schema - Best Responsive Accordion, Tab, and Slider FAQ Solution (Elementor, Gutenberg Support)
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.92 ▲1.4550.36 ▲12.08
Dashboard /wp-admin4.74 ▲1.3952.87 ▼8.10
Posts /wp-admin/edit.php4.86 ▲1.5066.67 ▲22.63
Add New Post /wp-admin/post-new.php7.33 ▲1.4492.43 ▼6.94
Media Library /wp-admin/upload.php4.60 ▲1.3747.61 ▲13.51

Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 103 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Ultimate FAQ Schema - Best Responsive Accordion, Tab, and Slider FAQ Solution (Elementor, Gutenberg Support)
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,887 ▲15213.54 ▼0.765.75 ▲3.9742.19 ▼7.84
Dashboard /wp-admin2,210 ▲225.03 ▲0.13104.18 ▼9.8238.91 ▼9.88
Posts /wp-admin/edit.php2,464 ▲3755.28 ▲3.2295.67 ▲58.2234.50 ▲1.03
Add New Post /wp-admin/post-new.php6,354 ▲4,84026.47 ▲8.77928.69 ▲279.0138.21 ▼4.21
Media Library /wp-admin/upload.php1,392 ▲44.12 ▼0.1181.71 ▼18.8142.55 ▼0.96

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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 fix the following items
  • 2× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/faq-schema-ultimate/admin/partials/faq-schema-ultimate-admin-display.php
    • > /wp-content/plugins/faq-schema-ultimate/public/partials/faq-schema-ultimate-public-display.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Tags: You are using too many tags: 12 tag instead of maximum 10
Please take inspiration from this readme.txt

faq-schema-ultimate/wp-faq-schema.php 92% from 13 tests

The main file in "Ultimate FAQ Schema - Best Responsive Accordion, Tab, and Slider FAQ Solution (Elementor, Gutenberg Support)" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("faq-schema-ultimate.php" instead of "wp-faq-schema.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin15,024 lines of code in 95 files:
LanguageFilesBlank linesComment linesLines of code
PHP802,5051,5086,946
CSS62814864,081
JavaScript71,2654013,995
SVG2002

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.64
Average class complexity22.85
▷ Minimum class complexity1.00
▷ Maximum class complexity152.00
Average method complexity6.54
▷ Minimum method complexity1.00
▷ Maximum method complexity57.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes68
▷ Abstract classes22.94%
▷ Concrete classes6697.06%
▷ Final classes00.00%
Methods268
▷ Static methods4115.30%
▷ Public methods26398.13%
▷ Protected methods00.00%
▷ Private methods51.87%
Functions24
▷ Named functions24100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
admin/faqsu-framework/assets/images/checkerboard.png2.29KB2.54KB0.00%