Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/page-manager-for-elementor/elementor_page_switcher.php+591
Undefined index: action
Server metrics [RAM: ▼1.49MB] [CPU: ▼49.37ms] Passed 4 tests
Server-side resources used by Page Manager for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.49 ▼0.97 | 8.69 ▼39.46 |
Dashboard /wp-admin | 2.52 ▼0.79 | 9.25 ▼40.69 |
Posts /wp-admin/edit.php | 2.52 ▼0.84 | 10.55 ▼33.94 |
Add New Post /wp-admin/post-new.php | 2.52 ▼3.37 | 8.39 ▼83.39 |
Media Library /wp-admin/upload.php | 2.52 ▼0.71 | 9.68 ▼25.93 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 2.52 | 9.55 |
Page Manager for Elementor /wp-admin/admin.php?page=pagemanager | 2.52 | 9.27 |
Server storage [IO: ▲3.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 201 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_debug_mode |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
fs_active_plugins |
theysaidso_admin_options |
fs_gdpr |
widget_recent-comments |
widget_theysaidso_widget |
fs_accounts |
Browser metrics Passed 4 tests
A check of browser resources used by Page Manager for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,914 ▲1,168 | 14.22 ▼0.16 | 41.37 ▲39.06 | 47.06 ▲3.03 |
Dashboard /wp-admin | 2,721 ▲536 | 5.22 ▼0.62 | 117.84 ▲18.75 | 47.70 ▲8.01 |
Posts /wp-admin/edit.php | 2,598 ▲506 | 2.32 ▲0.29 | 56.29 ▲18.70 | 44.52 ▲8.56 |
Add New Post /wp-admin/post-new.php | 1,959 ▲425 | 23.78 ▲0.81 | 692.90 ▲4.19 | 66.44 ▲13.54 |
Media Library /wp-admin/upload.php | 1,903 ▲518 | 4.52 ▲0.30 | 118.42 ▼10.30 | 55.58 ▲4.25 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 1,730 | 2.33 | 61.46 | 51.19 |
Page Manager for Elementor /wp-admin/admin.php?page=pagemanager | 1,854 | 2.27 | 67.98 | 84.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/page-manager-for-elementor/elementor_page_switcher.php+591
Undefined index: action
- Zombie WordPress options detected upon uninstall: 10 options
- theysaidso_admin_options
- widget_recent-posts
- fs_gdpr
- widget_theysaidso_widget
- fs_debug_mode
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- fs_accounts
- fs_active_plugins
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pagemanager
- > Notice in wp-content/plugins/page-manager-for-elementor/elementor_page_switcher.php+614
Undefined index: action
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/page-manager-for-elementor/includes/constants.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: duplicate page, page manager, manager, duplicate, elementor
page-manager-for-elementor/elementor_page_switcher.php 77% from 13 tests
"Page Manager for Elementor" version 2.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("page-manager-for-elementor.php" instead of "elementor_page_switcher.php")
- Description: The description should be shorter than 140 characters (currently 147 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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 detected35,446 lines of code in 155 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 119 | 8,055 | 17,174 | 33,438 |
JavaScript | 4 | 282 | 93 | 965 |
CSS | 13 | 118 | 14 | 790 |
SVG | 19 | 0 | 5 | 253 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,089)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 89.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,089.00 |
Average method complexity | 4.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 2 | 4.00% |
▷ Concrete classes | 48 | 96.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,257 | |
▷ Static methods | 193 | 15.35% |
▷ Public methods | 875 | 69.61% |
▷ Protected methods | 17 | 1.35% |
▷ Private methods | 365 | 29.04% |
Functions | 117 | |
▷ Named functions | 117 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 154 | |
▷ Global constants | 107 | 69.48% |
▷ Class constants | 47 | 30.52% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/pagemanager.png | 26.17KB | 8.44KB | ▼ 67.74% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |