Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.23MB] [CPU: ▼11.23ms] Passed 4 tests
An overview of server-side resources used by Super Stage WP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.64 ▲2.18 | 60.14 ▲18.19 |
Dashboard /wp-admin | 5.18 ▲1.87 | 43.66 ▼3.33 |
Posts /wp-admin/edit.php | 5.18 ▲1.82 | 42.42 ▼2.52 |
Add New Post /wp-admin/post-new.php | 5.18 ▼0.71 | 41.81 ▼52.42 |
Media Library /wp-admin/upload.php | 5.18 ▲1.95 | 48.01 ▲13.37 |
Settings /wp-admin/admin.php?page=wpss-settings-page | 5.18 | 40.90 |
Super Stage WP /wp-admin/admin.php?page=wpss-main-page | 5.18 | 43.93 |
Server storage [IO: ▲1.26MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 57 new files
Database: 8 new tables, 6 new options
New tables |
---|
wp_wpss_local_site_new_attachments |
wp_wpss_backups |
wp_wpss_processed_iterator |
wp_wpss_options |
wp_wpss_current_process |
wp_wpss_inc_exc_contents |
wp_wpss_processed_files |
wp_wpss_activity_log |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Super Stage WP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲133 | 13.91 ▼0.44 | 3.26 ▲1.50 | 39.32 ▼6.42 |
Dashboard /wp-admin | 2,273 ▲96 | 5.87 ▲0.22 | 103.25 ▲16.05 | 86.42 ▲44.43 |
Posts /wp-admin/edit.php | 2,175 ▲75 | 2.80 ▲0.82 | 45.33 ▲8.53 | 32.22 ▼3.73 |
Add New Post /wp-admin/post-new.php | 1,593 ▲65 | 22.59 ▼0.49 | 606.50 ▼58.17 | 35.41 ▼21.91 |
Media Library /wp-admin/upload.php | 1,463 ▲63 | 5.45 ▲1.28 | 110.99 ▲6.15 | 89.13 ▲43.45 |
Settings /wp-admin/admin.php?page=wpss-settings-page | 1,145 | 2.68 | 47.14 | 33.35 |
Super Stage WP /wp-admin/admin.php?page=wpss-main-page | 1,013 | 2.54 | 38.98 | 38.29 |
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 validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpss-main-page
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/super-stage-wp/Staging/bridge/bridge.php
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WPSS_Base_Config' not found in wp-content/plugins/super-stage-wp/ExcludeOption/Config.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPSS_Exclude' not found in wp-content/plugins/super-stage-wp/ExcludeOption/ExcludeOption.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function is_allowed_to_copy_site_to_live() on null in wp-content/plugins/super-stage-wp/Staging/stage-to-live/views/super-stage-wp-staging.php:6
- > PHP Fatal error
Uncaught Error: Class 'WPSS_Base_Config' not found in wp-content/plugins/super-stage-wp/Staging/Config.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPSS_Processed_Base' not found in wp-content/plugins/super-stage-wp/class-processed-iterator.php:22
- > PHP Fatal error
Uncaught Error: Class 'WPSS_Processed_Base' not found in wp-content/plugins/super-stage-wp/class-processed-files.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-stage-wp/views/wpss-settings.php:11
- > PHP Notice
Undefined variable: stage_to_live in wp-content/plugins/super-stage-wp/Staging/stage-to-live/views/super-stage-wp-staging.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_thickbox() in wp-content/plugins/super-stage-wp/views/wpss-main-page.php:59
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: duplicate, db migration, migrate, backup, clone...
super-stage-wp/super-stage-wp.php 85% from 13 tests
The main PHP file in "Super Stage WP" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected29,743 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 2,888 | 3,249 | 17,233 |
PHP | 37 | 3,571 | 682 | 11,543 |
CSS | 4 | 37 | 108 | 966 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 49.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 2 | 6.25% |
▷ Concrete classes | 30 | 93.75% |
▷ Final classes | 0 | 0.00% |
Methods | 709 | |
▷ Static methods | 14 | 1.97% |
▷ Public methods | 453 | 63.89% |
▷ Protected methods | 42 | 5.92% |
▷ Private methods | 214 | 30.18% |
Functions | 126 | |
▷ Named functions | 124 | 98.41% |
▷ Anonymous functions | 2 | 1.59% |
Constants | 102 | |
▷ Global constants | 91 | 89.22% |
▷ Class constants | 11 | 10.78% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wpss-icon.png | 1.71KB | 0.94KB | ▼ 44.77% |