93% add-to-feedly

Code Review | Add to Feedly

WordPress plugin Add to Feedly scored 93% from 54 tests.

About plugin

  • Plugin page: add-to-feedly
  • Plugin version: 1.2.11
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.9.4
  • WordPress version: 5.9.2
  • First release: Jul 31, 2013
  • Latest release: Mar 23, 2018
  • Number of updates: 29
  • Update frequency: every 58.5 days
  • Top authors: davidmerinas (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active / 8,091 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.39MB] [CPU: ▼331.34ms] Passed 4 tests

Analyzing server-side resources used by Add to Feedly
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /1.91 ▼1.616.05 ▼57.03
Dashboard /wp-admin3.46 ▲0.0535.42 ▼2.09
Posts /wp-admin/edit.php3.69 ▲0.0559.87 ▲22.27
Add New Post /wp-admin/post-new.php6.93 ▼0.0499.65 ▼1,269.85
Media Library /wp-admin/upload.php3.34 ▲0.0528.34 ▲3.60

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Add to Feedly
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,951 ▲20916.64 ▲0.6212.34 ▲4.052.84 ▲0.57
Dashboard /wp-admin2,910 ▲576.24 ▲0.12124.22 ▼22.78192.12 ▲25.95
Posts /wp-admin/edit.php2,708 ▲142.92 ▼0.3164.77 ▲0.43155.17 ▲4.37
Add New Post /wp-admin/post-new.php1,786 ▼2021.31 ▼0.86424.58 ▼52.72311.43 ▲155.76
Media Library /wp-admin/upload.php1,709 ▲115.54 ▲0.04135.71 ▼41.72255.38 ▲62.05

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/add-to-feedly/addtofeedly.php:204

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (screenshot-1.png), #2 (screenshot-2.png)
You can take inspiration from this readme.txt

add-to-feedly/addtofeedly.php 85% from 13 tests

The principal PHP file in "Add to Feedly" v. 1.2.11 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("add-to-feedly.php" instead of "addtofeedly.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 185 characters long)

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
Success! There were no dangerous files found in this plugin1,440 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PO File45260168

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.20
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions11100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.33MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png211.28KB70.73KB▼ 66.52%
screenshot-1.png20.60KB8.15KB▼ 60.45%
images/feedly-follow-small.png4.67KB1.60KB▼ 65.66%
images/addtofeedly_master.png18.37KB7.23KB▼ 60.65%
images/addtofeedly_en.png20.60KB8.15KB▼ 60.45%