Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.86ms] Passed 4 tests
This is a short check of server-side resources used by ScriptExpose 1.0
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.53 ▼1.69 |
Dashboard /wp-admin | 3.36 ▲0.05 | 51.35 ▼7.19 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.94 ▼3.33 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.00 ▼15.94 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.51 ▼8.98 |
Shortcode modules /wp-admin/admin.php?page=Script_et_set_shortcode | 3.25 | 34.64 |
Set style modules /wp-admin/admin.php?page=Script_et_make_style | 3.35 | 46.97 |
ScriptEt /wp-admin/admin.php?page=Script_et_module_view_table | 3.28 | 38.57 |
Server storage [IO: ▲1.85MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 81 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_theme_module |
wp_theme_module_css |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
current_style |
catalog_active |
catalog_load |
theysaidso_admin_options |
temp_array |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by ScriptExpose 1.0
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.25 ▼0.10 | 1.71 ▼0.13 | 44.61 ▼1.66 |
Dashboard /wp-admin | 2,229 ▲52 | 5.58 ▼0.12 | 94.89 ▼13.38 | 41.78 ▼10.80 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 1.94 ▼0.03 | 37.57 ▼0.66 | 34.87 ▼3.46 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.15 ▼0.55 | 666.76 ▼23.73 | 55.79 ▼10.72 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.17 ▲0.02 | 93.79 ▼14.02 | 43.77 ▼0.39 |
Shortcode modules /wp-admin/admin.php?page=Script_et_set_shortcode | 939 | 1.74 | 26.61 | 24.47 |
Set style modules /wp-admin/admin.php?page=Script_et_make_style | 6,068 | 8.58 | 300.11 | 101.83 |
ScriptEt /wp-admin/admin.php?page=Script_et_module_view_table | 1,315 | 3.56 | 56.67 | 61.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_theme_module
- wp_theme_module_css
- Zombie WordPress options detected upon uninstall: 9 options
- widget_recent-comments
- widget_recent-posts
- catalog_active
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- current_style
- theysaidso_admin_options
- temp_array
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Donate link: Invalid URI ("binwavelab@gmail.com")
scriptexpose/et_main.php 92% from 13 tests
The main PHP file in "ScriptExpose 1.0" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("scriptexpose.php" instead of "et_main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin8,944 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 26 | 633 | 197 | 5,144 |
CSS | 7 | 140 | 85 | 1,572 |
PHP | 9 | 672 | 303 | 1,285 |
HTML | 3 | 99 | 22 | 852 |
JSON | 3 | 0 | 0 | 91 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 16.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 12 | 17.91% |
▷ Public methods | 67 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 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
27 PNG files occupy 0.17MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/color_js/colorpicker-master/images/map-opacity.png | 0.14KB | 0.09KB | ▼ 34.53% |
js/color_js/colorpicker-master/images/128/bar-alpha.png | 1.53KB | 1.90KB | 0.00% |
js/jquery-ui/images/ui-bg_highlight-soft_80_eeeeee_1x100.png | 0.27KB | 0.13KB | ▼ 51.45% |
js/color_js/colorpicker-master/images/bar-alpha.png | 2.14KB | 2.95KB | 0.00% |
js/jquery-ui/images/ui-bg_inset-soft_30_f58400_1x100.png | 0.33KB | 0.18KB | ▼ 44.41% |