Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.11ms] Passed 4 tests
An overview of server-side resources used by Wordpress Wall Paint Calculator by Ostheimer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.59 ▼5.61 |
Dashboard /wp-admin | 3.31 ▼0.04 | 55.95 ▼15.37 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.62 ▼0.72 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.57 ▼14.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.94 ▲3.47 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Wordpress Wall Paint Calculator by Ostheimer: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲114 | 13.81 ▼0.54 | 9.43 ▲7.64 | 42.59 ▲0.38 |
Dashboard /wp-admin | 2,195 ▲18 | 5.57 ▼0.01 | 90.25 ▼6.78 | 40.27 ▼8.88 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▲0.05 | 36.00 ▼1.57 | 34.66 ▲0.42 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.61 ▲0.31 | 689.92 ▲46.48 | 53.80 ▼0.97 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.02 | 94.77 ▼11.25 | 40.68 ▼7.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wall-paint-calculator/wall-paint-calculator.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Wall Paint Calculator Frontend Widget), #2 (Wall Paint Calculator Backend Widget Control)
wall-paint-calculator/wall-paint-calculator.php Passed 13 tests
The main file in "Wordpress Wall Paint Calculator by Ostheimer" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
111 characters long description:
This Plugin gives you the possibility to insert a wall paint calculator via widget or shortcode into your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected301 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 36 | 145 |
CSS | 1 | 14 | 1 | 72 |
JavaScript | 1 | 69 | 1 | 53 |
PO File | 1 | 9 | 10 | 31 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 5.31KB | 3.48KB | ▼ 34.51% |
screenshot-1.png | 7.51KB | 4.36KB | ▼ 41.98% |