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.00MB] [CPU: ▼8.37ms] Passed 4 tests
An overview of server-side resources used by Visual Crossing Weather Forecast
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.34 ▼9.61 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.37 ▼13.21 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.18 ▼5.54 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.05 ▼5.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.63 ▼1.33 |
Weather Forecast Settings /wp-admin/options-general.php?page=visualcrossingwfcst | 3.21 | 38.32 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Visual Crossing Weather Forecast
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲119 | 14.20 ▼0.20 | 7.76 ▲5.83 | 39.71 ▼2.80 |
Dashboard /wp-admin | 2,213 ▲28 | 5.85 ▼0.05 | 100.84 ▼14.90 | 39.66 ▼3.79 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.00 | 39.27 ▲2.68 | 34.16 ▲0.07 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.66 ▼5.55 | 689.77 ▼10.73 | 50.72 ▼5.23 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.18 ▼0.19 | 101.97 ▼7.37 | 43.95 ▲1.04 |
Weather Forecast Settings /wp-admin/options-general.php?page=visualcrossingwfcst | 1,078 | 2.04 | 25.41 | 63.35 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Donate link: Invalid URI ("")
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
visualcrossing-weather-forecast/visualcrossing-weather-forecast.php 92% from 13 tests
Analyzing the main PHP file in "Visual Crossing Weather Forecast" version 1.0.0
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,287 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 177 | 107 | 601 |
PHP | 4 | 132 | 146 | 455 |
CSS | 1 | 29 | 12 | 169 |
PO File | 1 | 49 | 75 | 62 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 3 | 15.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 1 | 5.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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 |
assets/images/icon-34.png | 2.18KB | 1.29KB | ▼ 40.89% |
assets/images/logo.png | 5.63KB | 2.01KB | ▼ 64.24% |