79% everest-toolkit

Code Review | Everest Toolkit

WordPress plugin Everest Toolkit scored79%from 54 tests.

About plugin

  • Plugin page: everest-toolkit
  • Plugin version: 1.2.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8.0-6.1
  • WordPress version: 6.3.1
  • First release: Dec 12, 2018
  • Latest release: Jul 3, 2023
  • Number of updates: 30
  • Update frequency: every 55.5 days
  • Top authors: everestthemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

3,000+ active /64,708 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼6.96ms] Passed 4 tests

An overview of server-side resources used by Everest Toolkit
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0238.24 ▼4.04
Dashboard /wp-admin3.32 ▲0.0246.36 ▼1.58
Posts /wp-admin/edit.php3.43 ▲0.0847.37 ▼1.84
Add New Post /wp-admin/post-new.php5.92 ▲0.0386.79 ▼18.17
Media Library /wp-admin/upload.php3.24 ▲0.0134.07 ▼3.79

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 96 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Everest Toolkit
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,902 ▲11613.57 ▼0.574.86 ▲2.7142.84 ▼1.64
Dashboard /wp-admin2,225 ▲195.90 ▲1.00103.56 ▲1.9337.57 ▼8.59
Posts /wp-admin/edit.php2,104 ▲41.99 ▼0.0536.05 ▼0.4433.20 ▼5.52
Add New Post /wp-admin/post-new.php1,530 ▼122.98 ▼0.19668.74 ▼6.1560.16 ▲5.86
Media Library /wp-admin/upload.php1,398 ▼54.23 ▲0.0498.37 ▼2.2042.57 ▼6.44

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

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
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 fix the following items
  • 2× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/everest-toolkit/admin/partials/everest-toolkit-admin-display.php
    • > /wp-content/plugins/everest-toolkit/public/partials/everest-toolkit-public-display.php
  • 34× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/everest-toolkit/includes/elementor/arya-multipurpose/widgets/partners.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/everest-toolkit/includes/theme-info/configs/ultra-lite-blog-config.php:211
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/everest-toolkit/includes/elementor/arya-multipurpose/widgets/features.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/everest-toolkit/includes/elementor/arya-multipurpose/class-elementor-extension.php:52
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/everest-toolkit/includes/demo-importer/class-et-customizer-option.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/everest-toolkit/includes/theme-info/configs/gucherry-blog-pro-config.php:179
    • > PHP Warning
      require(ET_ABSPATHincludes/demo-importer/importer/class-et-importer-logger.php): failed to open stream: No such file or directory in wp-content/plugins/everest-toolkit/includes/demo-importer/class-et-logger.php on line 11
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/everest-toolkit/includes/elementor/arya-multipurpose/widgets/about-one.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/everest-toolkit/includes/elementor/arya-multipurpose/widgets/banner-one.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/everest-toolkit/includes/theme-info/configs/everest-news-lite-config.php:213

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration Passed 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
There were no plugin tags found

everest-toolkit/everest-toolkit.php Passed 13 tests

The primary PHP file in "Everest Toolkit" version 1.2.3 is used by WordPress to initiate all plugin functionality
79 characters long description:
Toolkit for themes and contains demo import options required for everestthemes.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected10,594 lines of code in 89 files:
LanguageFilesBlank linesComment linesLines of code
PHP792,4212,64310,048
CSS57325355
JavaScript55892191

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.37
Average class complexity15.26
▷ Minimum class complexity1.00
▷ Maximum class complexity262.00
Average method complexity3.39
▷ Minimum method complexity1.00
▷ Maximum method complexity28.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes57
▷ Abstract classes11.75%
▷ Concrete classes5698.25%
▷ Final classes35.36%
Methods340
▷ Static methods7522.06%
▷ Public methods25675.29%
▷ Protected methods3911.47%
▷ Private methods4513.24%
Functions33
▷ Named functions3296.97%
▷ Anonymous functions13.03%
Constants9
▷ Global constants777.78%
▷ Class constants222.22%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
includes/theme-info/images/everestthemes.png4.46KB3.16KB▼ 29.15%