94% read-more-for-feed-burner-feed

Code Review | Read More for Feed Burner Feed

WordPress plugin Read More for Feed Burner Feed scored 94% from 54 tests.

About plugin

  • Plugin page: read-more-for-fee...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.2.2
  • WordPress version: 5.8.1
  • First release: Aug 4, 2015
  • Latest release: Aug 5, 2015
  • Number of updates: 5
  • Update frequency: every 0.4 days
  • Top authors: Vinay PN (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

70+ active / 2,430 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼140.69ms] Passed 4 tests

Server-side resources used by Read More for Feed Burner Feed
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0136.72 ▲0.88
Dashboard /wp-admin3.07 ▲0.0142.19 ▼2.37
Posts /wp-admin/edit.php3.12 ▲0.0145.19 ▲4.60
Add New Post /wp-admin/post-new.php5.43 ▼0.0191.43 ▼559.53
Media Library /wp-admin/upload.php3.01 ▲0.0134.28 ▼1.75
Read More FeedBurner /wp-admin/options-general.php?page=hello-world2.9829.77

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options
read_more_data

Browser metrics Passed 4 tests

A check of browser resources used by Read More for Feed Burner Feed
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,684 ▲8815.88 ▲0.338.18 ▼0.5050.83 ▲1.80
Dashboard /wp-admin2,978 ▲475.88 ▼0.09132.53 ▼8.24111.35 ▼5.97
Posts /wp-admin/edit.php2,744 ▲52.70 ▼0.0073.32 ▲8.8789.96 ▼0.69
Add New Post /wp-admin/post-new.php1,501 ▲318.84 ▼0.01383.85 ▲12.67106.98 ▼13.80
Media Library /wp-admin/upload.php1,818 ▲85.01 ▲0.01147.36 ▲2.04122.95 ▲3.24
Read More FeedBurner /wp-admin/options-general.php?page=hello-world1,0292.0952.0380.41

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 register_activation_hook() in wp-content/plugins/read-more-for-feed-burner-feed/Read-More-for-Feed-Burner-Feed.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Screenshots: These screenshots require images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
You can take inspiration from this readme.txt

read-more-for-feed-burner-feed/Read-More-for-Feed-Burner-Feed.php 92% from 13 tests

The entry point to "Read More for Feed Burner Feed" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("read-more-for-feed-burner-feed.php" instead of "Read-More-for-Feed-Burner-Feed.php")

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
Good job! No executable or dangerous file extensions detected60 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP221159
Markdown1001

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.12
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG files were detected