Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.22ms] Passed 4 tests
A check of server-side resources used by azurecurve RSS Suffix
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 33.74 ▼4.50 |
Dashboard /wp-admin | 3.37 ▲0.03 | 44.65 ▼10.39 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 45.75 ▼2.70 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 81.21 ▼15.27 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 34.06 ▼0.28 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 3.26 | 38.44 |
RSS Suffix /wp-admin/admin.php?page=azc-rsss | 3.23 | 31.00 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
azc_rss_options |
can_compress_scripts |
Browser metrics Passed 4 tests
azurecurve RSS Suffix: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 13.18 ▼1.19 | 1.62 ▲0.05 | 37.51 ▼4.26 |
Dashboard /wp-admin | 2,237 ▲49 | 5.79 ▼0.15 | 97.90 ▼8.08 | 79.70 ▲37.03 |
Posts /wp-admin/edit.php | 2,117 ▲31 | 2.03 ▼0.01 | 35.67 ▼1.94 | 33.25 ▲2.53 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 23.36 ▲0.28 | 707.70 ▲41.57 | 49.31 ▼22.11 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.16 ▲0.04 | 104.35 ▲2.19 | 47.16 ▲0.29 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 851 | 2.02 | 25.80 | 27.30 |
RSS Suffix /wp-admin/admin.php?page=azc-rsss | 845 | 2.03 | 26.84 | 31.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=azc-rsss
- > Notice in wp-content/plugins/azurecurve-rss-suffix/azurecurve-rss-suffix.php+176
Undefined variable: post_url
- > GET request to /wp-admin/admin.php?page=azc-rsss
- > Notice in wp-content/plugins/azurecurve-rss-suffix/azurecurve-rss-suffix.php+176
Undefined variable: post_title
- > GET request to /wp-admin/admin.php?page=azc-rsss
- > Notice in wp-content/plugins/azurecurve-rss-suffix/azurecurve-rss-suffix.php+176
Undefined variable: site_url
- > GET request to /wp-admin/admin.php?page=azc-rsss
- > Notice in wp-content/plugins/azurecurve-rss-suffix/azurecurve-rss-suffix.php+176
Undefined variable: site_title
- > GET request to /wp-admin/admin.php?page=azc-rsss
- > Notice in wp-content/plugins/azurecurve-rss-suffix/azurecurve-rss-suffix.php+176
Undefined variable: site_tagline
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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-rss-suffix/azurecurve-rss-suffix.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: rss, multisite
azurecurve-rss-suffix/azurecurve-rss-suffix.php 92% from 13 tests
"azurecurve RSS Suffix" version 2.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected421 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 71 | 46 | 405 |
CSS | 1 | 0 | 2 | 16 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Favicon-16x16.png | 0.40KB | 0.34KB | ▼ 14.81% |