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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.98ms] Passed 4 tests
Server-side resources used by Akl Webhost Post Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.11 ▼0.77 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.47 ▼4.62 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.19 ▼0.54 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.20 ▲5.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 30.27 ▼1.99 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_akl_post_widget |
New WordPress options |
---|
can_compress_scripts |
widget_akl_post_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Akl Webhost Post Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▲0.12 | 1.82 ▲0.21 | 42.29 ▼0.05 |
Dashboard /wp-admin | 2,206 ▲32 | 5.83 ▼0.08 | 100.81 ▼3.81 | 37.60 ▼10.75 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.03 | 38.87 ▲1.24 | 35.84 ▲3.50 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 23.25 ▼0.10 | 599.49 ▼101.33 | 66.50 ▲6.18 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.19 ▼0.02 | 103.39 ▲2.06 | 43.92 ▼1.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_akl_post_widget
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_akl_post_widget
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/akl-webhost-post-widget/Akl_Post_Widget.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (First of all upload that widget through add new widget area. '(/assets/Screenshot-1.png)'), #2 (Then activate that widget from installed widget section or activate that widget when you upload that widget. '(/assets/Screenshot-2.png)'), #3 (Then drag that widget from options available in widgets tabs and drop that widget to the sidebar. '(/assets/Screenshot-3.png)'), #4 (Then open your posts page and then you will see your posts. '(/assets/Screenshot-4.png)')
- License uri: Invalid URI ("none")
akl-webhost-post-widget/Akl_Post_Widget.php 85% from 13 tests
The entry point to "Akl Webhost Post Widget" version 1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 271 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("akl-webhost-post-widget.php" instead of "Akl_Post_Widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin164 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 50 | 12 | 164 |
PHP code Passed 2 tests
A short 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.19 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/question_mark.png | 3.57KB | 2.13KB | ▼ 40.24% |