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
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼0.25ms] Passed 4 tests
Analyzing server-side resources used by Customizable XML Feeds
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 50.32 ▲10.33 |
Dashboard /wp-admin | 3.44 ▲0.14 | 51.19 ▲5.37 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 45.65 ▲0.65 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 93.75 ▼8.44 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.25 ▲1.42 |
Custom XML Feeds /wp-admin/options-general.php?page=customizable-xml-feeds | 3.33 | 41.25 |
Email Tags /wp-admin/edit-tags.php?taxonomy=email-tags | 3.36 | 32.96 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Customizable XML Feeds
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 14.74 ▲0.36 | 1.96 ▲0.28 | 43.50 ▲0.01 |
Dashboard /wp-admin | 2,219 ▲28 | 4.80 ▼0.11 | 107.71 ▲6.49 | 43.21 ▲2.28 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.01 ▲0.01 | 34.73 ▲1.29 | 33.56 ▼1.91 |
Add New Post /wp-admin/post-new.php | 6,466 ▲4,932 | 20.00 ▼3.05 | 894.69 ▲139.96 | 59.20 ▲2.44 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.19 ▼0.05 | 94.91 ▼13.11 | 42.76 ▼5.24 |
Custom XML Feeds /wp-admin/options-general.php?page=customizable-xml-feeds | 810 | 2.03 | 24.76 | 25.49 |
Email Tags /wp-admin/edit-tags.php?taxonomy=email-tags | 1,241 | 2.13 | 26.81 | 29.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/customizable-xml-feeds/templates/feed-footer.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function CustomXMLFeeds\\add_action() in wp-content/plugins/customizable-xml-feeds/plugin.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/customizable-xml-feeds/templates/feed-header.php:2
- > PHP Fatal error
Uncaught Error: Class 'CustomXMLFeeds\\Form' not found in wp-content/plugins/customizable-xml-feeds/includes/admin/Form.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title_rss() in wp-content/plugins/customizable-xml-feeds/templates/item-template.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: feed, xml, custom xml feed, exact target
customizable-xml-feeds/plugin.php 92% from 13 tests
Analyzing the main PHP file in "Customizable XML Feeds" version 1.0.0
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("customizable-xml-feeds.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin734 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 156 | 638 | 639 |
Markdown | 1 | 28 | 0 | 67 |
Sass | 1 | 2 | 0 | 16 |
CSS | 2 | 1 | 0 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 8.17 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 45 | 84.91% |
▷ Protected methods | 8 | 15.09% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
PNG images were not found in this plugin