74% feed-excerpts-for-divi

Code Review | Feed Excerpts For Divi

WordPress plugin Feed Excerpts For Divi scored74%from 54 tests.

About plugin

  • Plugin page: feed-excerpts-for...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.6
  • WordPress version: 6.3.1
  • First release: Jan 3, 2018
  • Latest release: Dec 24, 2020
  • Number of updates: 9
  • Update frequency: every 120.7 days
  • Top authors: ferventsolutions (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /2,451 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.95MB] [CPU: ▼33.83ms] Passed 4 tests

An overview of server-side resources used by Feed Excerpts For Divi
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.92 ▼5.56
Dashboard /wp-admin2.99 ▼0.3123.71 ▼22.29
Posts /wp-admin/edit.php3.00 ▼0.3623.48 ▼20.79
Add New Post /wp-admin/post-new.php2.99 ▼2.8923.43 ▼80.13
Media Library /wp-admin/upload.php3.00 ▼0.2322.09 ▼12.11
Feed Excerpts For Divi /wp-admin/tools.php?page=wj_feed_excerpts_toolpage3.0022.91

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Feed Excerpts For Divi
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.18 ▼1.191.77 ▼0.0440.26 ▼1.90
Dashboard /wp-admin2,207 ▲194.86 ▼0.03109.43 ▼2.5039.62 ▼5.34
Posts /wp-admin/edit.php2,093 ▲41.97 ▼0.0640.34 ▼2.2334.64 ▲0.55
Add New Post /wp-admin/post-new.php1,545 ▲318.31 ▲0.02603.93 ▼1.2253.17 ▼1.84
Media Library /wp-admin/upload.php1,395 ▲74.26 ▲0.05100.75 ▲3.1441.03 ▼3.40
Feed Excerpts For Divi /wp-admin/tools.php?page=wj_feed_excerpts_toolpage7912.0525.3623.50

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Uninstall procedure validation failed for this plugin
    • > User notice in wp-includes/functions.php+5905
    Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
  • Zombie WordPress options were found after uninstall: 7 options
    • wj_feed_excerpts_settings
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/tools.php?page=wj_feed_excerpts_toolpage
    • > User notice in wp-includes/functions.php+5905
    Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

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

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: rss, blog, excerpt, post, elegant themes...

feed-excerpts-for-divi/feed-excerpts-for-divi.php Passed 13 tests

"Feed Excerpts For Divi" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
85 characters long description:
Enable excerpts in the Blog Post Feed for posts that use the Divi Builder Text Module

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected126 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP25472126

PHP code Passed 2 tests

This is a very shot review of 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.21
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG files were detected