78% everest-faq-manager-lite

Code Review | Beautiful FAQ Plugin for WordPress - Everest FAQ Manager Lite

WordPress plugin Beautiful FAQ Plugin for WordPress - Everest FAQ Manager Lite scored 78% from 54 tests.

About plugin

  • Plugin page: everest-faq-manag...
  • Plugin version: 1.0.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.8
  • WordPress version: 5.9.2
  • First release: Oct 25, 2017
  • Latest release: Nov 12, 2021
  • Number of updates: 27
  • Update frequency: every 54.8 days
  • Top authors: Access Keys (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 2,992 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.22MB] [CPU: ▼290.82ms] Passed 4 tests

Server-side resources used by Beautiful FAQ Plugin for WordPress - Everest FAQ Manager Lite
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.79 ▲0.2857.19 ▲1.08
Dashboard /wp-admin3.66 ▲0.2638.10 ▲4.46
Posts /wp-admin/edit.php3.89 ▲0.2543.34 ▲5.11
Add New Post /wp-admin/post-new.php7.12 ▲0.1394.41 ▼1,171.77
Media Library /wp-admin/upload.php3.53 ▲0.2425.42 ▲2.96
Add New Everest FAQ /wp-admin/post-new.php?post_type=everest-faq3.8646.62
More WordPress Stuffs /wp-admin/edit.php?post_type=everest-faq&page=about-efaq-manager3.5426.99
All Everest FAQ /wp-admin/edit.php?post_type=everest-faq3.6632.31

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 41 new files
Database: no new tables, 1 new option
New WordPress options
widget_efaq_widget

Browser metrics Passed 4 tests

Checking browser requirements for Beautiful FAQ Plugin for WordPress - Everest FAQ Manager Lite
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,199 ▲47717.79 ▲1.839.63 ▲4.012.30 ▲0.02
Dashboard /wp-admin3,165 ▲3048.50 ▲2.23147.88 ▲13.24143.26 ▼14.23
Posts /wp-admin/edit.php2,994 ▲3045.04 ▲1.8085.10 ▲22.24135.81 ▼6.48
Add New Post /wp-admin/post-new.php1,727 ▲6617.12 ▲1.10372.22 ▼35.73151.42 ▲1.12
Media Library /wp-admin/upload.php1,776 ▲756.10 ▲0.57112.34 ▼29.30178.79 ▼10.55
Add New Everest FAQ /wp-admin/post-new.php?post_type=everest-faq3,6369.84199.46192.01
More WordPress Stuffs /wp-admin/edit.php?post_type=everest-faq&page=about-efaq-manager1,6678.79151.42174.84
All Everest FAQ /wp-admin/edit.php?post_type=everest-faq1,6884.9581.23104.40

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 1 option in the database
    • widget_efaq_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 9× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/everest-faq-manager-lite/inc/backend/about_us.php
    • > /wp-content/plugins/everest-faq-manager-lite/inc/backend/metaboxes/display_settings.php
    • > /wp-content/plugins/everest-faq-manager-lite/inc/backend/reg_post_types.php
    • > /wp-content/plugins/everest-faq-manager-lite/inc/backend/metaboxes/item.php
    • > /wp-content/plugins/everest-faq-manager-lite/everest-faq-manager-lite.php
    • > /wp-content/plugins/everest-faq-manager-lite/inc/plugin_variables.php
    • > /wp-content/plugins/everest-faq-manager-lite/inc/frontend/efaq-shortcode.php
    • > /wp-content/plugins/everest-faq-manager-lite/inc/backend/widget.php
    • > /wp-content/plugins/everest-faq-manager-lite/inc/backend/metaboxes/add_items.php
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/everest-faq-manager-lite/inc/efaq-block/efaq-block-init.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Screenshots: Add a description for screenshot #3 in everest-faq-manager-lite/assets to your readme.txt
  • Screenshots: Screenshot #4 (Frontend - All Templates) image not found
The official readme.txt is a good inspiration

everest-faq-manager-lite/everest-faq-manager-lite.php 92% from 13 tests

The principal PHP file in "Beautiful FAQ Plugin for WordPress - Everest FAQ Manager Lite" v. 1.0.9 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Domain Path: The domain path folder does not exist ("/languages/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected6,031 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code
SVG1002,671
CSS4331011,727
PHP111481351,402
JavaScript43325231

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity19.00
▷ Minimum class complexity6.00
▷ Maximum class complexity32.00
Average method complexity2.33
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods27
▷ Static methods311.11%
▷ Public methods27100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants9
▷ Global constants9100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/pinterest.png2.17KB1.25KB▼ 42.30%
images/flicker.png1.45KB0.57KB▼ 60.47%
images/plugin.png12.50KB5.31KB▼ 57.50%
images/customize.png24.05KB8.41KB▼ 65.05%
images/theme.png52.01KB17.38KB▼ 66.59%