68% fv-feedburner-replacement

Code Review | FV Feedburner Replacement

WordPress plugin FV Feedburner Replacement scored 68% from 54 tests.

About plugin

  • Plugin page: fv-feedburner-rep...
  • Plugin version: 0.4.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.9.6
  • WordPress version: 6.3.1
  • First release: Apr 2, 2013
  • Latest release: Jun 1, 2018
  • Number of updates: 65
  • Update frequency: every 29.0 days
  • Top authors: FolioVision (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 5,112 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼2.59ms] Passed 4 tests

Server-side resources used by FV Feedburner Replacement
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0440.53 ▼4.28
Dashboard /wp-admin3.34 ▲0.0448.19 ▲0.77
Posts /wp-admin/edit.php3.39 ▲0.0346.82 ▼2.45
Add New Post /wp-admin/post-new.php5.92 ▲0.0382.73 ▼4.40
Media Library /wp-admin/upload.php3.26 ▲0.0338.38 ▲2.98
FV Feedburner Replacement /wp-admin/options-general.php?page=fv_feedburner_replacement3.2031.09

Server storage [IO: ▲0.40MB] [DB: ▲0.01MB] Passed 3 tests

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: 1 new table, 7 new options
New tables
wp_newsletter
New WordPress options
db_upgraded
widget_recent-posts
fv_feedburner_replacement
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for FV Feedburner Replacement
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,822 ▲8713.25 ▼1.444.42 ▲2.5742.51 ▼3.67
Dashboard /wp-admin2,210 ▲224.80 ▼0.26112.02 ▼2.7742.85 ▼5.53
Posts /wp-admin/edit.php2,093 ▲42.00 ▼0.0032.80 ▼3.6832.47 ▼0.50
Add New Post /wp-admin/post-new.php1,536 ▲223.38 ▲0.21716.78 ▲34.7664.53 ▲11.02
Media Library /wp-admin/upload.php1,392 ▲44.24 ▲0.07103.50 ▼3.2943.63 ▼1.99
FV Feedburner Replacement /wp-admin/options-general.php?page=fv_feedburner_replacement1,2122.0723.8955.22

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • The plugin did not uninstall successfully, leaving 1 table in the database
    • wp_newsletter
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • fv_feedburner_replacement
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=fv_feedburner_replacement
    • > Notice in wp-content/plugins/fv-feedburner-replacement/fv-feedburner-replacement.php+521
    Undefined index: show_links_comments
    • > GET request to /wp-admin/options-general.php?page=fv_feedburner_replacement
    • > Notice in wp-content/plugins/fv-feedburner-replacement/fv-feedburner-replacement.php+529
    Undefined index: show_category_links
    • > GET request to /wp-admin/options-general.php?page=fv_feedburner_replacement
    • > Notice in wp-content/plugins/fv-feedburner-replacement/fv-feedburner-replacement.php+552
    Undefined index: feedburner_include
    • > GET request to /wp-admin/options-general.php?page=fv_feedburner_replacement
    • > Notice in wp-content/plugins/fv-feedburner-replacement/fv-feedburner-replacement.php+565
    Undefined index: feedburner_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
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fv-feedburner-replacement/fv-feedburner-replacement.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Screenshots: Screenshot #1 (Plugin settings screen.) image required
You can look at the official readme.txt

fv-feedburner-replacement/fv-feedburner-replacement.php Passed 13 tests

The entry point to "FV Feedburner Replacement" version 0.4.3 is a PHP file that has certain tags in its header comment area
122 characters long description:
Changes /feed to a newsletter subscription page, yet allows feed readers to read it as a feed. Eases up user subscription.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected921 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP219961864
CSS11154
Markdown1203

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity60.00
▷ Minimum class complexity19.00
▷ Maximum class complexity101.00
Average method complexity3.74
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods43
▷ Static methods00.00%
▷ Public methods43100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.35MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/led-monitor.png19.87KB9.03KB▼ 54.55%
images/fabric-plaid-bg.png6.43KB5.04KB▼ 21.58%
screenshot-1.png332.10KB112.28KB▼ 66.19%
images/red-button.png1.47KB1.44KB▼ 2.00%
images/list-bullet.png0.35KB0.39KB0.00%