89% largest-jackpots-feed

Code Review | Largest Jackpots Feed

WordPress plugin Largest Jackpots Feed scored89%from 54 tests.

About plugin

  • Plugin page: largest-jackpots-...
  • Plugin version: 0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1.0-5.1.1
  • WordPress version: 6.3.1
  • First release: Apr 2, 2019
  • Latest release: Apr 3, 2019
  • Number of updates: 7
  • Update frequency: N/A
  • Top authors: kuopassa (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /453 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
The plugin installed successfully, without throwing any errors or notices

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

Server-side resources used by Largest Jackpots Feed
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.88 ▲1.30
Dashboard /wp-admin3.31 ▼0.0448.24 ▼12.98
Posts /wp-admin/edit.php3.36 ▲0.0053.73 ▲3.19
Add New Post /wp-admin/post-new.php5.89 ▲0.0094.12 ▼12.75
Media Library /wp-admin/upload.php3.23 ▲0.0038.94 ▲2.94

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Largest Jackpots Feed
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.64 ▼0.744.12 ▲2.4541.15 ▼2.47
Dashboard /wp-admin2,206 ▲245.90 ▼0.17108.47 ▲3.1842.44 ▼2.54
Posts /wp-admin/edit.php2,086 ▼62.00 ▼0.0539.42 ▼2.7934.82 ▼0.10
Add New Post /wp-admin/post-new.php1,533 ▼923.28 ▲5.22657.08 ▲45.9654.96 ▼4.68
Media Library /wp-admin/upload.php1,385 ▼34.21 ▼0.0394.32 ▼3.9646.05 ▲2.18

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
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
No output text or server-side errors detected on direct access of PHP files

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 90% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: jackpots, slots, feed

largest-jackpots-feed/largest-jackpots-feed.php 77% from 13 tests

The primary PHP file in "Largest Jackpots Feed" version 0.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Domain Path: Use only dashes and lowercase characters for the domain path ("")
  • Domain Path: Prefix the domain path with a forward slash character ("/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected157 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14428157

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.57
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected