Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.59ms] Passed 4 tests
Analyzing server-side resources used by Clothing size Calculator by isosize
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 42.50 ▼0.68 |
Dashboard /wp-admin | 3.32 ▼0.02 | 52.41 ▼11.00 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.73 ▼5.39 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 110.05 ▲2.70 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 39.42 ▲4.17 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Clothing size Calculator by isosize: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲178 | 13.38 ▼0.97 | 13.42 ▲11.67 | 43.30 ▲2.17 |
Dashboard /wp-admin | 2,214 ▲40 | 5.48 ▼0.17 | 93.87 ▲0.69 | 54.47 ▲14.14 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.97 ▼0.07 | 33.95 ▼2.17 | 36.05 ▲0.59 |
Add New Post /wp-admin/post-new.php | 1,541 ▲12 | 23.35 ▲0.11 | 647.04 ▼28.23 | 66.02 ▲6.42 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.20 ▼0.02 | 93.87 ▼15.59 | 43.23 ▼5.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/isosize-clothing-size-widget-for-retailers/isosize-index.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/isosize-clothing-size-widget-for-retailers/isosize-settings.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #5 is missing in isosize-clothing-size-widget-for-retailers/assets to your readme.txt
isosize-clothing-size-widget-for-retailers/isosize-index.php 92% from 13 tests
Analyzing the main PHP file in "Clothing size Calculator by isosize" version 2.0.1
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("isosize-clothing-size-widget-for-retailers.php" instead of "isosize-index.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
Everything looks great! No dangerous files found in this plugin131 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 40 | 76 | 61 |
JavaScript | 1 | 12 | 9 | 41 |
CSS | 1 | 3 | 0 | 29 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin