Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.55ms] Passed 4 tests
A check of server-side resources used by Category- and Tag-Feeds
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 33.00 ▼9.54 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.42 ▼7.11 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 50.33 ▲5.42 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 96.62 ▲5.43 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.12 ▲1.05 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Category- and Tag-Feeds
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.30 ▼0.41 | 1.48 ▼0.38 | 37.02 ▼6.59 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▲0.02 | 95.32 ▼7.65 | 41.39 ▼4.30 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.03 ▲0.07 | 39.65 ▼1.47 | 36.72 ▼0.18 |
Add New Post /wp-admin/post-new.php | 6,372 ▲4,846 | 27.53 ▲4.05 | 911.19 ▲259.87 | 39.85 ▼22.35 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.15 ▼0.02 | 96.34 ▼1.73 | 40.78 ▼6.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/category-and-tag-feeds/uninstall.php+19
Constant LW_CF_CAT_META already defined
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/category-and-tag-feeds/classes/class-category-widget.php:18
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/category-and-tag-feeds/classes/class-tag-widget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/category-and-tag-feeds/inc/admin.php:23
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/category-and-tag-feeds/classes/class-tagWidget.php:14
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/category-and-tag-feeds/classes/class-categoryWidget.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/category-and-tag-feeds/category-and-tag-feeds.php:26
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/category-and-tag-feeds/classes/class-widget-categories.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/category-and-tag-feeds/classes/class-widget-tags.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: feed, category, tag, category feed, tag feed
category-and-tag-feeds/category-and-tag-feeds.php 92% from 13 tests
The entry point to "Category- and Tag-Feeds" version 1.1.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("5.9.3" instead of "6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin906 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 126 | 539 | 685 |
JavaScript | 8 | 28 | 151 | 166 |
JSON | 2 | 0 | 0 | 34 |
Sass | 2 | 2 | 0 | 11 |
CSS | 3 | 5 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 3.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 1 | 2.50% |
▷ Public methods | 29 | 72.50% |
▷ Protected methods | 8 | 20.00% |
▷ Private methods | 3 | 7.50% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ 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
PNG images were not found in this plugin