10% read-more-about

Code Review | Read More About

WordPress plugin Read More About scored10%from 54 tests.

About plugin

  • Plugin page: read-more-about
  • Plugin version: 2.1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.2
  • WordPress version: 6.3.1
  • First release: Aug 4, 2015
  • Latest release: Feb 14, 2023
  • Number of updates: 24
  • Update frequency: every 114.6 days
  • Top authors: ArenaPigskin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,838 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
The following installer errors require your attention
  • Install procedure had errors
    • > Warning in wp-content/plugins/read-more-about/includes/class-read-more-about.php+88
    require_once(wp-content/plugins/read-more-about/admin/class-read-more-about-admin.php): failed to open stream: No such file or directory

Server metrics [RAM: ▲0.00MB] [CPU: ▼8.08ms] Passed 4 tests

A check of server-side resources used by Read More About
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.32 ▼1.72
Dashboard /wp-admin3.31 ▲0.0047.67 ▲0.55
Posts /wp-admin/edit.php3.36 ▲0.0047.78 ▼5.51
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.78 ▼24.47
Media Library /wp-admin/upload.php3.23 ▲0.0036.72 ▼0.60

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
db_upgraded
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Read More About: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.33 ▼0.091.73 ▲0.0146.62 ▲7.09
Dashboard /wp-admin2,192 ▲155.52 ▼0.2283.97 ▼8.4440.63 ▲0.28
Posts /wp-admin/edit.php2,103 ▲31.99 ▼0.0033.97 ▼6.8831.69 ▼3.16
Add New Post /wp-admin/post-new.php1,526 ▼023.33 ▲0.37670.69 ▼24.5065.90 ▲15.67
Media Library /wp-admin/upload.php1,400 ▲94.18 ▲0.0493.54 ▼6.8542.38 ▼2.79

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts

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)
Everything seems fine, however this is by no means 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
The following issues need your attention
  • 3× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/read-more-about/public/partials/read-more-about-widget.php:23
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_block_wrapper_attributes() in wp-content/plugins/read-more-about/blocks/build/read-more-about/template.php:1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/read-more-about/admin/read-more-about-admin.php:17

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: related links, custom meta panel, shortcodes

read-more-about/read-more-about.php 92% from 13 tests

The main file in "Read More About" v. 2.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (currently 178 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,127 lines of code in 40 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript96536917
PHP14162511533
PO File6114150373
Sass3100174
Markdown322075
JSON10051
CSS4024

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity2.50
▷ Minimum class complexity1.00
▷ Maximum class complexity9.00
Average method complexity1.45
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
Methods33
▷ Static methods26.06%
▷ Public methods2575.76%
▷ Protected methods00.00%
▷ Private methods824.24%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.34MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png62.18KB16.66KB▼ 73.21%
screenshot-3.png158.64KB100.83KB▼ 36.44%
images/read-more.png2.29KB1.38KB▼ 39.52%
screenshot-1.png127.99KB34.92KB▼ 72.71%