84% 0-delay-late-caching-for-feeds

Code Review | Late Caching for Feeds

WordPress plugin Late Caching for Feeds scored84%from 54 tests.

About plugin

  • Plugin page: 0-delay-late-cach...
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.9.8
  • WordPress version: 6.3.1
  • First release: Oct 29, 2018
  • Latest release: Nov 2, 2018
  • Number of updates: 6
  • Update frequency: every 0.7 days
  • Top authors: miunosoft (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,648 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.18MB] [CPU: ▼0.35ms] Passed 4 tests

This is a short check of server-side resources used by Late Caching for Feeds
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.67 ▲0.2140.92 ▲0.16
Dashboard /wp-admin3.53 ▲0.1963.84 ▼2.18
Posts /wp-admin/edit.php3.58 ▲0.2351.23 ▲3.64
Add New Post /wp-admin/post-new.php6.05 ▲0.1794.23 ▼0.54
Media Library /wp-admin/upload.php3.39 ▲0.1735.50 ▲1.16

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Late Caching for Feeds
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.72 ▲0.191.57 ▼0.1040.92 ▼3.62
Dashboard /wp-admin2,198 ▲205.60 ▼0.0180.68 ▼34.0740.75 ▼3.08
Posts /wp-admin/edit.php2,100 ▼01.98 ▲0.0140.30 ▲4.1635.56 ▼0.88
Add New Post /wp-admin/post-new.php1,526 ▼023.64 ▲0.13660.08 ▼22.9058.28 ▲3.25
Media Library /wp-admin/upload.php1,400 ▲34.17 ▼0.0395.62 ▼23.0440.49 ▼7.68

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

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 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 fix the following
  • 9× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'LateCachingForFeeds_Utility' not found in wp-content/plugins/0-delay-late-caching-for-feeds/include/main/LateCachingForFeeds_SimplePieSubClassSetter.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'SimplePie_Cache' not found in wp-content/plugins/0-delay-late-caching-for-feeds/include/custom_simplepie/LateCachingForFeeds_SimplePie_Cache.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'LateCachingForFeeds_AdminPageFramework_Utility' not found in wp-content/plugins/0-delay-late-caching-for-feeds/include/utility/apf/LateCachingForFeeds_AdminPageFramework_Debug.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Feed_Cache_Transient' not found in wp-content/plugins/0-delay-late-caching-for-feeds/include/custom_simplepie/LateCachingForFeeds_SimplePie_Cache_Transient_Normal.php:21
    • > PHP Fatal error
      Uncaught Error: Class 'LateCachingForFeeds_SimplePie_Cache_Transient_Normal' not found in wp-content/plugins/0-delay-late-caching-for-feeds/include/custom_simplepie/LateCachingForFeeds_SimplePie_Cache_Transient.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'LateCachingForFeeds_Utility' not found in wp-content/plugins/0-delay-late-caching-for-feeds/include/utility/LateCachingForFeeds_WPUtility.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'LateCachingForFeeds_AdminPageFramework_Debug' not found in wp-content/plugins/0-delay-late-caching-for-feeds/include/utility/LateCachingForFeeds_Debug.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'LateCachingForFeeds_AdminPageFramework_Utility' not found in wp-content/plugins/0-delay-late-caching-for-feeds/include/utility/LateCachingForFeeds_Utility.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'LateCachingForFeeds_Registry' not found in wp-content/plugins/0-delay-late-caching-for-feeds/include/class-list.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
The official readme.txt might help

0-delay-late-caching-for-feeds/0-delay-late-caching-for-feeds.php Passed 13 tests

This is the main PHP file of "Late Caching for Feeds" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
74 characters long description:
Implements a late caching mechanism for the built-in WordPress RSS parser.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,061 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
PHP13873021,040
Markdown111021

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.41
Average class complexity7.96
▷ Minimum class complexity1.00
▷ Maximum class complexity29.00
Average method complexity2.35
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes25
▷ Abstract classes1040.00%
▷ Concrete classes1560.00%
▷ Final classes16.67%
Methods129
▷ Static methods11186.05%
▷ Public methods9775.19%
▷ Protected methods43.10%
▷ Private methods2821.71%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants14
▷ Global constants00.00%
▷ Class constants14100.00%
▷ Public constants14100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin