Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'set_up_options_aklamator_infeed' not found or invalid function name
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.42ms] Passed 4 tests
This is a short check of server-side resources used by Aklamator INfeed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.99 ▼6.56 |
Dashboard /wp-admin | 3.44 ▲0.13 | 51.39 ▼1.74 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 48.61 ▼0.75 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 89.85 ▼0.61 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.11 ▲5.63 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_aklamator_infeed_widget |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Aklamator INfeed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲58 | 13.19 ▼1.31 | 1.59 ▼0.64 | 41.60 ▼4.90 |
Dashboard /wp-admin | 2,224 ▲36 | 5.85 ▲0.77 | 99.86 ▼15.36 | 66.42 ▲19.39 |
Posts /wp-admin/edit.php | 2,104 ▲18 | 1.98 ▼0.02 | 38.82 ▲1.28 | 34.99 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.20 ▲5.63 | 761.87 ▲105.75 | 59.39 ▲5.56 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.10 ▼0.06 | 98.51 ▼3.70 | 67.96 ▲25.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_aklamator_infeed_widget
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aklamator-infeed/aklamator-infeed.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== aklamator-infeed ===
)
aklamator-infeed/aklamator-infeed.php 92% from 13 tests
"Aklamator INfeed" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 366 characters long)
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 plugin1,340 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 206 | 52 | 775 |
CSS | 1 | 118 | 158 | 398 |
JavaScript | 1 | 0 | 17 | 139 |
XML | 1 | 3 | 0 | 28 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 6.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 6 | |
▷ Named functions | 6 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.50MB with 0.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/promo-300x200.png | 113.75KB | 33.12KB | ▼ 70.88% |
images/teaser-810x262.png | 279.89KB | 88.35KB | ▼ 68.43% |
assets/dataTables/images/sort_desc_disabled.png | 1.09KB | 0.17KB | ▼ 84.55% |
assets/dataTables/images/sort_desc.png | 1.10KB | 0.17KB | ▼ 84.15% |
assets/dataTables/images/sort_asc.png | 1.11KB | 0.17KB | ▼ 84.28% |