10% everse-starter-sites

Code Review | WordPress Everse Starter Sites - Elementor Templates

WordPress plugin WordPress Everse Starter Sites - Elementor Templates scored 10% from 54 tests.

About plugin

  • Plugin page: everse-starter-sites
  • Plugin version: 1.2.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2
  • WordPress version: 6.3.1
  • First release: Nov 26, 2020
  • Latest release: Jul 6, 2023
  • Number of updates: 17
  • Update frequency: every 58.1 days
  • Top authors: deothemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active / 7,579 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
  • This plugin did not install gracefully
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, class 'Everse_Starter_Sites_Plugin' does not have a method 'activate_everse_starter_sites'

Server metrics [RAM: ▲5.16MB] [CPU: ▲27.01ms] 75% from 4 tests

Analyzing server-side resources used by WordPress Everse Starter Sites - Elementor Templates
Please take the time to fix the following items
  • Extra RAM: Extra memory usage should kept under 5MB (currently 5.16MB on /wp-admin/themes.php?page=everse-starter-sites)
PageMemory (MB)CPU Time (ms)
Home /8.88 ▲5.4262.86 ▲24.77
Dashboard /wp-admin8.90 ▲5.6076.15 ▲30.58
Posts /wp-admin/edit.php8.90 ▲5.5481.32 ▲40.42
Add New Post /wp-admin/post-new.php9.97 ▲4.08111.11 ▲16.70
Media Library /wp-admin/upload.php8.90 ▲5.6771.06 ▲35.98
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius8.9059.17
Everse Starter Sites /wp-admin/themes.php?page=everse-starter-sites9.0562.32

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 204 new files
Database: no new tables, 9 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
db_upgraded
fs_debug_mode
fs_active_plugins
fs_accounts
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for WordPress Everse Starter Sites - Elementor Templates
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,822 ▲6513.29 ▼1.001.47 ▼0.5228.79 ▼8.93
Dashboard /wp-admin2,228 ▲395.83 ▲0.93113.45 ▲2.6845.80 ▲4.26
Posts /wp-admin/edit.php2,114 ▲252.02 ▲0.0040.81 ▲5.5837.62 ▲8.36
Add New Post /wp-admin/post-new.php1,522 ▲817.38 ▼0.16670.48 ▲10.4452.75 ▲1.56
Media Library /wp-admin/upload.php1,413 ▲224.24 ▲0.0396.31 ▼5.1843.08 ▼2.66
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius1,0722.0525.5227.97
Everse Starter Sites /wp-admin/themes.php?page=everse-starter-sites1,0102.1230.4254.84

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, class 'Everse_Starter_Sites_Plugin' does not have a method 'deactivate_everse_starter_sites'
  • This plugin did not uninstall successfully, leaving 9 options in the database
    • fs_active_plugins
    • widget_theysaidso_widget
    • fs_debug_mode
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • fs_accounts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 12× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      require(): Failed opening required 'ESS_DIR_PATHinc/importer/class-wxr-importer.php' (include_path='.:/usr/share/php') in wp-content/plugins/everse-starter-sites/inc/class-ess-wxr-importer.php on line 4
    • > PHP Fatal error
      Uncaught Error: Class 'ESS_HM_WP_Importer_Logger' not found in wp-content/plugins/everse-starter-sites/inc/importer/class-logger-cli.php:3
    • > PHP Fatal error
      require(): Failed opening required 'ESS_DIR_PATHinc/class-ess-helpers.php' (include_path='.:/usr/share/php') in wp-content/plugins/everse-starter-sites/inc/class-ess-main.php on line 1749
    • > PHP Fatal error
      require(): Failed opening required 'ESS_DIR_PATHinc/importer/class-logger.php' (include_path='.:/usr/share/php') in wp-content/plugins/everse-starter-sites/inc/class-ess-logger.php on line 4
    • > PHP Warning
      Use of undefined constant ESS_DIR_PATH - assumed 'ESS_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/everse-starter-sites/inc/class-ess-logger.php on line 4
    • > PHP Warning
      require(ESS_DIR_PATHinc/importer/class-wxr-importer.php): failed to open stream: No such file or directory in wp-content/plugins/everse-starter-sites/inc/class-ess-wxr-importer.php on line 4
    • > PHP Warning
      require(ESS_DIR_PATHinc/importer/class-logger.php): failed to open stream: No such file or directory in wp-content/plugins/everse-starter-sites/inc/class-ess-logger.php on line 4
    • > PHP Warning
      Use of undefined constant ESS_DIR_PATH - assumed 'ESS_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/everse-starter-sites/inc/class-ess-wxr-importer.php on line 4
    • > PHP Warning
      Use of undefined constant ESS_DIR_PATH - assumed 'ESS_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/everse-starter-sites/inc/class-ess-main.php on line 1749
    • > PHP Warning
      require(ESS_DIR_PATHinc/class-ess-helpers.php): failed to open stream: No such file or directory in wp-content/plugins/everse-starter-sites/inc/class-ess-main.php on line 1749

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: demo importer, templates, starter sites, elementor, woocommerce

everse-starter-sites/everse-starter-sites.php 92% from 13 tests

The main file in "WordPress Everse Starter Sites - Elementor Templates" v. 1.2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder does not exist ("/languages/")

Code Analysis 97% from 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
No dangerous file extensions were detected37,974 lines of code in 160 files:
LanguageFilesBlank linesComment linesLines of code
PHP1329,00218,58137,172
JavaScript410563609
CSS14330183
JSON100010

PHP code 50% from 2 tests

Analyzing cyclomatic complexity and code structure
Please tend to the following items
  • Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity
Average complexity per logical line of code0.60
Average class complexity81.52
▷ Minimum class complexity1.00
▷ Maximum class complexity3,073.00
Average method complexity4.58
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes62
▷ Abstract classes23.23%
▷ Concrete classes6096.77%
▷ Final classes11.67%
Methods1,424
▷ Static methods23216.29%
▷ Public methods97768.61%
▷ Protected methods553.86%
▷ Private methods39227.53%
Functions101
▷ Named functions10099.01%
▷ Anonymous functions10.99%
Constants153
▷ Global constants10266.67%
▷ Class constants5133.33%
▷ Public constants51100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
freemius/assets/img/plugin-icon.png9.16KB5.26KB▼ 42.58%
freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%