10% further-reading

Code Review | Further Reading

WordPress plugin Further Reading scored10%from 54 tests.

About plugin

  • Plugin page: further-reading
  • Plugin version: 15.1.29
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.1
  • WordPress version: 6.3.1
  • First release: Feb 4, 2015
  • Latest release: Feb 4, 2015
  • Number of updates: 3
  • Update frequency: every 1.0 days
  • Top authors: artplastika (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /798 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
  • Install procedure had errors
    • > Deprecated in wp-content/plugins/further-reading/wp-further-reading.php+35
    Methods with the same name as their class will not be constructors in a future version of PHP; wpfurtherreading has a deprecated constructor

Server metrics [RAM: ▼0.70MB] [CPU: ▼22.89ms] Passed 4 tests

A check of server-side resources used by Further Reading
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.44 ▼0.0335.55 ▼7.52
Dashboard /wp-admin3.33 ▼0.0249.35 ▼12.95
Posts /wp-admin/edit.php3.38 ▲0.0252.43 ▲0.58
Add New Post /wp-admin/post-new.php3.11 ▼2.7835.19 ▼68.78
Media Library /wp-admin/upload.php3.25 ▲0.0234.62 ▼2.29

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Further Reading: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,883 ▲12213.91 ▼0.749.75 ▲8.0242.46 ▼3.47
Dashboard /wp-admin2,209 ▲325.68 ▲0.0492.02 ▼0.3439.84 ▲0.44
Posts /wp-admin/edit.php2,111 ▲82.03 ▲0.0238.81 ▲2.0837.20 ▲1.24
Add New Post /wp-admin/post-new.php6,318 ▲4,77825.98 ▲2.69919.66 ▲290.8664.52 ▲12.99
Media Library /wp-admin/upload.php1,408 ▲54.27 ▲0.0696.04 ▼12.0846.06 ▼0.60
Further Reading /wp-admin/wp-further-reading.php260.440.0714.53

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/further-reading/wp-further-reading.php:33

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
    • > GET request to /wp-admin/wp-further-reading.php
    • > Network (severe)
    wp-admin/wp-further-reading.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
The official readme.txt might help

further-reading/wp-further-reading.php 92% from 13 tests

The main file in "Further Reading" v. 15.1.29 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("further-reading.php" instead of "wp-further-reading.php")

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
Success! There were no dangerous files found in this plugin265 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP12426180
JavaScript22051
CSS25034

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity26.00
▷ Minimum class complexity26.00
▷ Maximum class complexity26.00
Average method complexity2.79
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods14
▷ Static methods00.00%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There were not PNG files found in your plugin