84% feedburner-optin-form

Code Review | Feedburner Optin Form

WordPress plugin Feedburner Optin Form scored84%from 54 tests.

About plugin

  • Plugin page: feedburner-optin-...
  • Plugin version: 0.2.8
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.9
  • WordPress version: 6.3.1
  • First release: May 6, 2013
  • Latest release: Sep 4, 2014
  • Number of updates: 35
  • Update frequency: every 13.9 days
  • Top authors: jp2112 (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

100+ active /16,146 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼2.68ms] Passed 4 tests

A check of server-side resources used by Feedburner Optin Form
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.79 ▼9.48
Dashboard /wp-admin3.32 ▲0.0243.83 ▼2.47
Posts /wp-admin/edit.php3.37 ▲0.0246.30 ▲1.95
Add New Post /wp-admin/post-new.php5.90 ▲0.0193.32 ▲4.71
Media Library /wp-admin/upload.php3.24 ▲0.0235.22 ▼0.72
Feedburner Optin Form /wp-admin/options-general.php?page=feedburner-optin-form3.2131.54

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
fboif
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Feedburner Optin Form
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6914.48 ▼0.111.69 ▲0.0341.55 ▼2.42
Dashboard /wp-admin2,210 ▲195.07 ▲0.19109.12 ▲4.9741.51 ▼5.38
Posts /wp-admin/edit.php2,093 ▲42.04 ▲0.0540.56 ▲5.1735.62 ▲3.39
Add New Post /wp-admin/post-new.php1,538 ▲1023.47 ▲0.57650.30 ▲10.7355.63 ▲5.62
Media Library /wp-admin/upload.php1,392 ▲44.31 ▲0.1498.08 ▲0.1742.97 ▲0.75
Feedburner Optin Form /wp-admin/options-general.php?page=feedburner-optin-form1,0042.1525.7238.75

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

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 fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/feedburner-optin-form/feedburner-optin-form.php:20

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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: email, optin, rss, subscribers, feedburner...

feedburner-optin-form/feedburner-optin-form.php Passed 13 tests

"Feedburner Optin Form" version 0.2.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
52 characters long description:
Display a Feedburner subscription form on your site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin924 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP33461564
PO File2114118327
CSS31030
JavaScript1003

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
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
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%
Functions37
▷ Named functions37100.00%
▷ Anonymous functions00.00%
Constants27
▷ Global constants27100.00%
▷ Class constants00.00%
▷ Public constants00.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
7 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/XrHTe.png0.64KB0.57KB▼ 11.33%
images/2BCD0.png0.51KB0.59KB0.00%
images/parameters.png3.48KB2.94KB▼ 15.45%
images/settings.png2.11KB2.31KB0.00%
images/examples.png3.78KB2.24KB▼ 40.82%