WordPress plugin Recent Posts scored84%from 54 tests.

About plugin

  • Plugin page: responsive-vertic...
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.6.1
  • WordPress version: 6.3.1
  • First release: Mar 21, 2015
  • Latest release: Dec 6, 2016
  • Number of updates: 43
  • Update frequency: every 16.5 days
  • Top authors: aumsrini (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /2,418 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼10.04ms] Passed 4 tests

An overview of server-side resources used by Recent Posts
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0238.93 ▲0.09
Dashboard /wp-admin3.35 ▼0.0045.58 ▼12.30
Posts /wp-admin/edit.php3.40 ▲0.0445.02 ▼2.68
Add New Post /wp-admin/post-new.php5.93 ▲0.0482.25 ▼25.27
Media Library /wp-admin/upload.php3.27 ▲0.0435.07 ▲0.28
Vertical Ticker Settings /wp-admin/options-general.php?page=my-setting-admin3.2129.45

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Recent Posts
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲6413.22 ▼0.962.64 ▲0.9041.64 ▲0.07
Dashboard /wp-admin2,210 ▲185.85 ▲0.9695.40 ▼13.7940.89 ▼3.28
Posts /wp-admin/edit.php2,096 ▲41.97 ▼0.0334.74 ▼10.1733.44 ▼3.45
Add New Post /wp-admin/post-new.php1,540 ▲1923.13 ▲0.05643.51 ▼24.1355.50 ▼10.31
Media Library /wp-admin/upload.php1,392 ▲44.19 ▼0.0497.69 ▼11.9439.61 ▼9.02
Vertical Ticker Settings /wp-admin/options-general.php?page=my-setting-admin8682.0524.9628.88

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=my-setting-admin
    • > Notice in wp-content/plugins/responsive-vertical-recent-post-ticker/wp-vertical-slider.php+249
    Trying to access array offset on value of type bool

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
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: vertical ticker, ticker, responsive ticker, recent post scroll, marquee...

responsive-vertical-recent-post-ticker/wp-vertical-slider.php 92% from 13 tests

The main PHP script in "Recent Posts" version 0.1 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("responsive-vertical-recent-post-ticker.php" instead of "wp-vertical-slider.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected364 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP15148178
JavaScript1439156
CSS16130

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity2.10
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods00.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/img/ticker-pro.png62.08KB17.78KB▼ 71.36%