Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.40ms] Passed 4 tests
An overview of server-side resources used by Blog Filter - Advanced Post Filtering with Categories Or Tags, Post Portfolio Gallery, Blog Design Template, Post Layout
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 35.12 ▼1.89 |
Dashboard /wp-admin | 3.43 ▲0.08 | 46.61 ▼13.72 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 52.15 ▲4.23 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.57 ▼14.21 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 42.10 ▲7.88 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.36 | 37.80 |
Blog Filters Settings /wp-admin/edit.php?page=blog-filter-settings-page | 3.47 | 38.07 |
Server storage [IO: ▲4.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 77 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Blog Filter - Advanced Post Filtering with Categories Or Tags, Post Portfolio Gallery, Blog Design Template, Post Layout: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲139 | 13.70 ▼0.63 | 8.37 ▲6.64 | 37.02 ▼2.56 |
Dashboard /wp-admin | 2,237 ▲59 | 5.54 ▼0.16 | 93.37 ▼24.22 | 85.68 ▲39.80 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.02 ▲0.02 | 40.50 ▲3.44 | 41.81 ▲3.91 |
Add New Post /wp-admin/post-new.php | 1,721 ▲195 | 22.55 ▼0.62 | 676.49 ▲34.88 | 42.71 ▼22.25 |
Media Library /wp-admin/upload.php | 1,447 ▲50 | 4.13 ▼0.07 | 98.07 ▼0.85 | 80.21 ▲38.93 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,049 | 2.03 | 26.44 | 32.91 |
Blog Filters Settings /wp-admin/edit.php?page=blog-filter-settings-page | 2,842 | 3.15 | 74.76 | 47.86 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/blog-filter/class-tgm-plugin-activation.php:2129
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: masonry layout, post template, post filter, post layout, blog template...
blog-filter/blog-filter.php Passed 13 tests
"Blog Filter - Advanced Post Filtering with Categories Or Tags, Post Portfolio Gallery, Blog Design Template, Post Layout" version 1.5.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
68 characters long description:
Blog / Post Filter and Blog / Post Gird layout Plugin For WordPress.
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
Good job! No executable or dangerous file extensions detected36,960 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 409 | 6,816 | 17,707 |
SVG | 4 | 0 | 12 | 6,031 |
PO File | 16 | 2,544 | 2,719 | 5,861 |
JavaScript | 6 | 601 | 1,180 | 3,873 |
PHP | 5 | 565 | 1,666 | 3,488 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 42.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 5 | 4.59% |
▷ Public methods | 84 | 77.06% |
▷ Protected methods | 25 | 22.94% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/tag.png | 2.93KB | 2.65KB | ▼ 9.56% |
img/cat.png | 1.30KB | 1.11KB | ▼ 14.80% |
img/categori-icon.png | 19.33KB | 7.78KB | ▼ 59.75% |
img/category-tree-icon.png | 1.86KB | 0.65KB | ▼ 64.79% |