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)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.88 ▲5.42 | 62.86 ▲24.77 |
Dashboard /wp-admin | 8.90 ▲5.60 | 76.15 ▲30.58 |
Posts /wp-admin/edit.php | 8.90 ▲5.54 | 81.32 ▲40.42 |
Add New Post /wp-admin/post-new.php | 9.97 ▲4.08 | 111.11 ▲16.70 |
Media Library /wp-admin/upload.php | 8.90 ▲5.67 | 71.06 ▲35.98 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.90 | 59.17 |
Everse Starter Sites /wp-admin/themes.php?page=everse-starter-sites | 9.05 | 62.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲65 | 13.29 ▼1.00 | 1.47 ▼0.52 | 28.79 ▼8.93 |
Dashboard /wp-admin | 2,228 ▲39 | 5.83 ▲0.93 | 113.45 ▲2.68 | 45.80 ▲4.26 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.02 ▲0.00 | 40.81 ▲5.58 | 37.62 ▲8.36 |
Add New Post /wp-admin/post-new.php | 1,522 ▲8 | 17.38 ▼0.16 | 670.48 ▲10.44 | 52.75 ▲1.56 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.24 ▲0.03 | 96.31 ▼5.18 | 43.08 ▼2.66 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,072 | 2.05 | 25.52 | 27.97 |
Everse Starter Sites /wp-admin/themes.php?page=everse-starter-sites | 1,010 | 2.12 | 30.42 | 54.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 132 | 9,002 | 18,581 | 37,172 |
JavaScript | 4 | 105 | 63 | 609 |
CSS | 14 | 33 | 0 | 183 |
JSON | 10 | 0 | 0 | 10 |
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 code | 0.60 |
Average class complexity | 81.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 2 | 3.23% |
▷ Concrete classes | 60 | 96.77% |
▷ Final classes | 1 | 1.67% |
Methods | 1,424 | |
▷ Static methods | 232 | 16.29% |
▷ Public methods | 977 | 68.61% |
▷ Protected methods | 55 | 3.86% |
▷ Private methods | 392 | 27.53% |
Functions | 101 | |
▷ Named functions | 100 | 99.01% |
▷ Anonymous functions | 1 | 0.99% |
Constants | 153 | |
▷ Global constants | 102 | 66.67% |
▷ Class constants | 51 | 33.33% |
▷ Public constants | 51 | 100.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |