89% wp-imageflow2

Code Review | WP Flow Plus

WordPress plugin WP Flow Plus scored89%from 54 tests.

About plugin

  • Plugin page: wp-imageflow2
  • Plugin version: 5.2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.3
  • WordPress version: 6.3.1
  • First release: Feb 2, 2010
  • Latest release: Jul 22, 2023
  • Number of updates: 232
  • Update frequency: every 21.2 days
  • Top authors: BStofko (82.33%)SunnyThemes (9.48%)spiffyplugins (9.05%)

Code review

54 tests

User reviews

6 reviews

Install metrics

1,000+ active /118,513 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.24MB] [CPU: ▼2.99ms] Passed 4 tests

Server-side resources used by WP Flow Plus
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1840.16 ▲3.63
Dashboard /wp-admin3.57 ▲0.2250.33 ▼11.27
Posts /wp-admin/edit.php3.68 ▲0.3250.66 ▼1.02
Add New Post /wp-admin/post-new.php6.18 ▲0.2992.88 ▼2.55
Media Library /wp-admin/upload.php3.51 ▲0.2842.32 ▲2.90
WP Flow Plus /wp-admin/options-general.php?page=wpFlowPlus3.5033.63

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 44 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for WP Flow Plus
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,903 ▲14213.54 ▼0.737.89 ▲6.3240.19 ▼2.46
Dashboard /wp-admin2,215 ▲385.79 ▲0.1797.51 ▲10.1244.11 ▼1.16
Posts /wp-admin/edit.php2,110 ▲132.32 ▲0.3238.48 ▲0.3935.20 ▼0.84
Add New Post /wp-admin/post-new.php6,390 ▲4,85227.87 ▲4.77885.02 ▲189.8140.58 ▼21.46
Media Library /wp-admin/upload.php1,424 ▲244.51 ▲0.3099.82 ▼30.8247.05 ▼6.73
WP Flow Plus /wp-admin/options-general.php?page=wpFlowPlus9632.0929.8633.02

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found


Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Screenshots: These screenshots do not have images: #1 (WP Flow Plus), #2 (General options), #3 (Format options), #4 (Add an image link)
  • Tags: You are using too many tags: 17 tag instead of maximum 10
You can take inspiration from this readme.txt

wp-imageflow2/wp-imageflow2.php Passed 13 tests

The principal PHP file in "WP Flow Plus" v. 5.2.2 is loaded by WordPress automatically on each request
40 characters long description:
Flow style carousel with Lightbox popups

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
No dangerous file extensions were detected5,003 lines of code in 24 files:
LanguageFilesBlank linesComment linesLines of code
PO File4307322889

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.34
Average class complexity21.75
▷ Minimum class complexity1.00
▷ Maximum class complexity64.00
Average method complexity4.46
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
▷ Static methods12.08%
▷ Public methods48100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants3100.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
10 PNG files occupy 0.26MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-4.png74.54KB23.84KB▼ 68.01%
screenshot-2.png47.20KB28.35KB▼ 39.94%
images/wpif2-32.png0.20KB0.14KB▼ 30.39%
img/sliderblack.png0.32KB0.21KB▼ 34.97%
img/wpif2-16.png0.17KB0.15KB▼ 12.92%