Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.12ms] Passed 4 tests
This is a short check of server-side resources used by Ada FeedWordPress Keyword Filters
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 37.09 ▼5.78 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.19 ▼6.54 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.32 ▲3.43 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 78.57 ▼19.57 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 36.32 ▲3.43 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Ada FeedWordPress Keyword Filters
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.41 ▼1.19 | 4.91 ▲2.85 | 43.03 ▲0.03 |
Dashboard /wp-admin | 2,209 ▲17 | 4.86 ▼0.09 | 96.26 ▼24.81 | 38.91 ▼7.98 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▼0.02 | 49.58 ▲12.11 | 49.03 ▲13.44 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.21 ▲5.10 | 675.59 ▲40.67 | 57.63 ▲8.68 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.01 | 111.63 ▲12.73 | 47.13 ▲5.04 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
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 no errors were found, this is by no means 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ada-feedwordpress-keyword-filters/ada-feedwordpress-filter-by-keywords.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Screenshot #1 (Adding new keyword filters) image required
ada-feedwordpress-keyword-filters/ada-feedwordpress-filter-by-keywords.php 85% from 13 tests
This is the main PHP file of "Ada FeedWordPress Keyword Filters" version 2023.0114, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ada-feedwordpress-keyword-filters.php" instead of "ada-feedwordpress-filter-by-keywords.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 206 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin451 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 122 | 38 | 451 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 75.00 |
▷ Minimum class complexity | 75.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 7.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.20MB with 0.14MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 206.50KB | 61.37KB | ▼ 70.28% |