10% mixed-updates

Code Review | Mixed Updates

WordPress plugin Mixed Updates scored10%from 54 tests.

About plugin

  • Plugin page: mixed-updates
  • Plugin version: 0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0-3.5
  • WordPress version: 6.3.1
  • First release: Jan 24, 2013
  • Latest release: Jan 24, 2013
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: complexli (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /875 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
  • Install procedure had errors
    • > Error in wp-content/plugins/mixed-updates/mixed-updates.php+123
    Uncaught Error: Call to undefined function mysql_connect() in wp-content/plugins/mixed-updates/mixed-updates.php:123
    Stack trace:
    #0 wp-includes/class-wp-hook.php(310): mixu_activate()
    #1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #2 wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 wp-admin/includes/plugin.php(693): do_action()

Server metrics [RAM: ▼0.01MB] [CPU: ▼9.48ms] Passed 4 tests

This is a short check of server-side resources used by Mixed Updates
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.95 ▼4.59
Dashboard /wp-admin3.31 ▼0.0456.06 ▼11.91
Posts /wp-admin/edit.php3.36 ▲0.0050.08 ▲2.37
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.06 ▼20.94
Media Library /wp-admin/upload.php3.23 ▲0.0035.41 ▼0.46

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Mixed Updates
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.26 ▼1.115.00 ▲3.2143.83 ▼0.28
Dashboard /wp-admin2,206 ▲214.92 ▼0.93107.90 ▲8.2742.12 ▼4.61
Posts /wp-admin/edit.php2,089 ▼02.03 ▲0.0140.55 ▲6.6534.94 ▲3.42
Add New Post /wp-admin/post-new.php1,542 ▲923.23 ▼0.04630.36 ▼63.6749.58 ▼3.02
Media Library /wp-admin/upload.php1,388 ▲34.24 ▲0.0595.08 ▼3.2641.60 ▼4.87

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options

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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mixed-updates/mixed-updates.php:113

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: bookmarks, links, blogroll, sidebar, rss

mixed-updates/mixed-updates.php Passed 13 tests

The main PHP script in "Mixed Updates" version 0.5 is automatically included on every request by WordPress
126 characters long description:
Use the RSS field in your Blogroll and display the most recent post from sites that you link to, ordered by date, not by site.

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 detected251 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15745251

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.34
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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