Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.35ms] Passed 4 tests
A check of server-side resources used by VA Term Latest Posts Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 32.77 ▼9.87 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.11 ▲0.49 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.71 ▼2.11 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.72 ▼5.92 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 37.21 ▲1.89 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_va-term-latest-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by VA Term Latest Posts Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.15 | 1.75 ▼0.08 | 41.80 ▼4.51 |
Dashboard /wp-admin | 2,209 ▲24 | 4.86 ▼0.02 | 102.64 ▼5.50 | 40.74 ▼4.31 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.01 | 39.61 ▲3.29 | 33.94 ▲0.91 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.27 ▲0.21 | 611.97 ▼157.29 | 57.18 ▲5.37 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.01 | 94.32 ▼20.35 | 40.99 ▼6.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_va-term-latest-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: recent posts, widget, posts, latest posts, sidebar...
va-term-latest-posts-widget/va-term-latest-posts.php 77% from 13 tests
The main PHP script in "VA Term Latest Posts Widget" version 1.0.1 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("va-term-latest-posts-widget.php" instead of "va-term-latest-posts.php")
- Domain Path: The domain path folder was not found ("/langs")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin251 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 60 | 54 | 203 |
Markdown | 1 | 17 | 0 | 48 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 4.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 44.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 55.56% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
2 compressed PNG files occupy 0.05MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 17.73KB | 16.11KB | ▼ 9.14% |
screenshot-1.png | 30.34KB | 29.85KB | ▼ 1.62% |