Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.95ms] Passed 4 tests
Server-side resources used by EntryWizard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.83 ▲1.76 |
Dashboard /wp-admin | 3.48 ▲0.14 | 46.64 ▼19.26 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 49.38 ▲0.16 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 108.82 ▲6.38 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.81 ▼2.45 |
WebForms /wp-admin/admin.php?page=entrywizard | 3.47 | 48.83 |
EWZ Help /wp-admin/admin.php?page=ewzhelp | 3.41 | 49.78 |
Permissions /wp-admin/admin.php?page=ewzperms | 3.41 | 40.26 |
EWZ Settings /wp-admin/admin.php?page=ewzsettings | 3.38 | 42.46 |
Layouts /wp-admin/admin.php?page=ewzlayouts | 3.44 | 40.13 |
Server storage [IO: ▲2.12MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 93 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_ewz_item |
wp_ewz_webform |
wp_ewz_layout |
wp_ewz_field |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
ewz_data_version |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics 75% from 4 tests
EntryWizard: an overview of browser usage
It is time to focus on the following
- Nodes: Limit the number of DOM nodes under 25,000 (currently 25,113 on /wp-admin/admin.php?page=ewzlayouts)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲98 | 13.22 ▼1.01 | 1.82 ▼0.08 | 41.94 ▼1.66 |
Dashboard /wp-admin | 2,247 ▲62 | 5.84 ▼0.02 | 98.66 ▼5.32 | 73.92 ▲27.16 |
Posts /wp-admin/edit.php | 2,135 ▲43 | 1.97 ▼0.19 | 40.97 ▼1.62 | 35.30 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,559 ▲17 | 23.26 ▲5.06 | 733.49 ▲54.82 | 52.10 ▼2.21 |
Media Library /wp-admin/upload.php | 1,432 ▲44 | 4.20 ▼0.01 | 97.79 ▼13.95 | 75.65 ▲28.60 |
WebForms /wp-admin/admin.php?page=entrywizard | 5,746 | 2.53 | 46.44 | 32.10 |
EWZ Help /wp-admin/admin.php?page=ewzhelp | 3,183 | 2.12 | 34.49 | 115.86 |
Permissions /wp-admin/admin.php?page=ewzperms | 1,251 | 2.05 | 26.89 | 32.70 |
EWZ Settings /wp-admin/admin.php?page=ewzsettings | 1,174 | 2.05 | 25.86 | 31.33 |
Layouts /wp-admin/admin.php?page=ewzlayouts | 25,113 | 2.82 | 60.73 | 35.52 |
Uninstaller [IO: ▲0.93MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/entrywizard/uninstall.php+15
Constant EWZ_LAYOUT_TABLE already defined
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > EWZ
Attempt to uninstall without WP_UNINSTALL_PLUGIN defined
- > EWZ
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: photography, competition, upload, image, spreadsheet...
entrywizard/entrywizard.php 92% from 13 tests
The entry point to "EntryWizard" version 1.3.26 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin19,359 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 1,772 | 3,870 | 12,625 |
JavaScript | 11 | 765 | 385 | 5,463 |
CSS | 4 | 107 | 49 | 1,271 |
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.48 |
Average class complexity | 48.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 305.00 |
Average method complexity | 5.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 2 | 7.69% |
▷ Concrete classes | 24 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 274 | |
▷ Static methods | 130 | 47.45% |
▷ Public methods | 200 | 72.99% |
▷ Protected methods | 53 | 19.34% |
▷ Private methods | 21 | 7.66% |
Functions | 162 | |
▷ Named functions | 138 | 85.19% |
▷ Anonymous functions | 24 | 14.81% |
Constants | 47 | |
▷ Global constants | 29 | 61.70% |
▷ Class constants | 18 | 38.30% |
▷ Public constants | 18 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
27 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
styles/images/ui-icons_309bbf_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
styles/images/ui-bg_flat_0_888888_40x100.png | 0.17KB | 0.08KB | ▼ 51.40% |
styles/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
styles/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/switch.png | 0.53KB | 0.64KB | 0.00% |