83% azurecurve-rss-feed

Code Review | azurecurve RSS Feed

WordPress plugin azurecurve RSS Feed scored83%from 54 tests.

About plugin

  • Plugin page: azurecurve-rss-feed
  • Plugin version: 2.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-5.0.0
  • WordPress version: 6.3.1
  • First release: Nov 10, 2015
  • Latest release: Dec 6, 2018
  • Number of updates: 9
  • Update frequency: every 124.7 days
  • Top authors: azurecurve (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /901 total downloads

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.06MB] [CPU: ▼1.24ms] Passed 4 tests

This is a short check of server-side resources used by azurecurve RSS Feed
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0843.82 ▲3.96
Dashboard /wp-admin3.38 ▲0.0353.41 ▼9.33
Posts /wp-admin/edit.php3.47 ▲0.1153.52 ▲9.58
Add New Post /wp-admin/post-new.php5.96 ▲0.0796.48 ▼2.38
Media Library /wp-admin/upload.php3.30 ▲0.0738.86 ▲2.78
Plugins /wp-admin/admin.php?page=azc-plugin-menus3.2735.21
RSS Feed /wp-admin/admin.php?page=azc-rssf3.2734.67

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for azurecurve RSS Feed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,828 ▲8213.67 ▼0.731.72 ▼0.0838.51 ▼6.02
Dashboard /wp-admin2,222 ▲314.86 ▼0.0098.15 ▼12.9472.10 ▲23.64
Posts /wp-admin/edit.php2,120 ▲311.99 ▼0.0337.56 ▼0.9335.64 ▲1.34
Add New Post /wp-admin/post-new.php1,543 ▲2322.95 ▼0.09639.62 ▲5.8051.22 ▲0.71
Media Library /wp-admin/upload.php1,416 ▲284.28 ▲0.09102.57 ▲3.3664.87 ▲21.48
Plugins /wp-admin/admin.php?page=azc-plugin-menus8472.0224.8829.16
RSS Feed /wp-admin/admin.php?page=azc-rssf7952.0728.1627.81

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 3× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-rss-feed/includes/menu.php:29
    • > PHP Fatal error
      Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/azurecurve-rss-feed/templates/rss_feed2.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-rss-feed/includes/menu.php:29

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 90% 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
1 plugin tags: rss

azurecurve-rss-feed/azurecurve-rss-feed.php 77% from 13 tests

This is the main PHP file of "azurecurve RSS Feed" version 2.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 158 characters long)
  • Domain Path: The domain path folder does not exist ("/languages")
  • Text Domain: The text domain name should consist of only dashes and lowercase characters

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
No dangerous file extensions were detected290 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP33433274
CSS10216

PHP code Passed 2 tests

Analyzing 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 code0.56
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
images/Favicon-16x16.png0.40KB0.34KB▼ 14.81%