Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.14ms] Passed 4 tests
An overview of server-side resources used by Alexa Siralamasi
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.07 ▼4.55 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.14 ▼3.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.70 ▼5.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.20 ▼22.51 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.28 ▼1.71 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_alexa_traffic_rank_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Alexa Siralamasi
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 14.48 ▲0.20 | 1.76 ▼0.30 | 40.41 ▼0.96 |
Dashboard /wp-admin | 2,203 ▲15 | 5.79 ▼0.10 | 95.84 ▼4.77 | 38.83 ▼3.70 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.05 | 37.56 ▼5.05 | 32.76 ▼4.29 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.65 ▲0.07 | 599.30 ▼0.01 | 49.41 ▼7.64 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.17 ▼0.03 | 98.16 ▼5.87 | 40.98 ▼3.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_alexa_traffic_rank_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/alexa-siralamasi/alexa-traffic-rank-widget.php:12
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Screenshot_19.png), #2 (Screenshot_20.png), #3 (Screenshot_21.png), #4 (Screenshot_22.png), #5 (Screenshot_23.png), #6 (Screenshot_24.png), #7 (Screenshot_25.png), #8 (Screenshot_26.png)
alexa-siralamasi/alexa-traffic-rank-widget.php 92% from 13 tests
The primary PHP file in "Alexa Siralamasi" version 1.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("alexa-siralamasi.php" instead of "alexa-traffic-rank-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin109 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 10 | 109 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Screenshot_25.png | 17.07KB | 8.12KB | ▼ 52.47% |
Screenshot_24.png | 17.38KB | 8.35KB | ▼ 51.98% |
Screenshot_23.png | 17.63KB | 8.23KB | ▼ 53.29% |
Screenshot_21.png | 17.64KB | 8.13KB | ▼ 53.92% |
Screenshot_20.png | 17.65KB | 8.13KB | ▼ 53.95% |