84% wp-dogecoin

Code Review | WP-Dogecoin

WordPress plugin WP-Dogecoin scored84%from 54 tests.

About plugin

  • Plugin page: wp-dogecoin
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.8.1
  • WordPress version: 6.3.1
  • First release: Jan 26, 2014
  • Latest release: Jan 29, 2014
  • Number of updates: 8
  • Update frequency: every 0.4 days
  • Top authors: studionashvegas (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /4,351 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by WP-Dogecoin
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.79 ▲7.01
Dashboard /wp-admin3.32 ▲0.0147.49 ▲1.34
Posts /wp-admin/edit.php3.37 ▲0.0143.64 ▼6.14
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.01 ▼3.05
Media Library /wp-admin/upload.php3.24 ▲0.0132.59 ▼1.42

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP-Dogecoin
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲4514.72 ▲0.492.09 ▲0.2845.91 ▼0.63
Dashboard /wp-admin2,210 ▲335.58 ▲0.0186.35 ▼5.6276.59 ▲34.47
Posts /wp-admin/edit.php2,115 ▲151.97 ▼0.0536.98 ▲2.1234.01 ▼3.69
Add New Post /wp-admin/post-new.php1,554 ▲2822.80 ▼0.80785.36 ▲74.8855.35 ▲4.77
Media Library /wp-admin/upload.php1,415 ▲154.10 ▼0.2794.47 ▼15.9881.85 ▲33.22

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-dogecoin/wp-dogecoin.php:15

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 is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: litecoin, dogecoin, cryptocurrency, bitcoin

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

This is the main PHP file of "WP-Dogecoin" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
110 characters long description:
This plugin allows you to add your Dogecoin donation address to the bottom of your blog posts - automatically!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin85 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1141745
Markdown120027
CSS12013

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.05
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
wp-dogecoin-icon.png1.85KB0.98KB▼ 46.80%