89% wp-cron-pixie

Code Review | WP Cron Pixie

WordPress plugin WP Cron Pixie scored89%from 54 tests.

About plugin

  • Plugin page: wp-cron-pixie
  • Plugin version: 1.4.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.4
  • WordPress version: 6.3.1
  • First release: Feb 9, 2017
  • Latest release: Oct 24, 2023
  • Number of updates: 15
  • Update frequency: every 163.1 days
  • Top authors: ianmjones (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,679 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼4.66ms] Passed 4 tests

A check of server-side resources used by WP Cron Pixie
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0539.31 ▲5.01
Dashboard /wp-admin3.37 ▲0.0645.52 ▼3.39
Posts /wp-admin/edit.php3.42 ▲0.0643.56 ▼9.39
Add New Post /wp-admin/post-new.php5.95 ▲0.0679.01 ▼6.30
Media Library /wp-admin/upload.php3.29 ▲0.0637.49 ▲0.46

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

WP Cron Pixie: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,035 ▲27413.67 ▼0.901.73 ▲0.1334.07 ▼7.33
Dashboard /wp-admin2,441 ▲2645.08 ▼0.59102.59 ▲12.2946.18 ▲5.89
Posts /wp-admin/edit.php2,100 ▼02.01 ▲0.0134.59 ▼1.7334.33 ▼4.54
Add New Post /wp-admin/post-new.php1,526 ▼223.12 ▼0.25654.48 ▼19.6067.22 ▼5.06
Media Library /wp-admin/upload.php1,403 ▲94.17 ▼0.0294.62 ▼4.5841.19 ▲0.61

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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === wp-cron-pixie === )
You can look at the official readme.txt

wp-cron-pixie/wp-cron-pixie.php 92% from 13 tests

This is the main PHP file of "WP Cron Pixie" version 1.4.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected7,093 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript29312236,801
PHP270130244
CSS113048

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity35.00
▷ Minimum class complexity35.00
▷ Maximum class complexity35.00
Average method complexity3.43
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods14
▷ Static methods00.00%
▷ Public methods964.29%
▷ Protected methods00.00%
▷ Private methods535.71%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.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