90% coinpaprika

Code Review | Coinpaprika

WordPress plugin Coinpaprika scored90%from 54 tests.

About plugin

  • Plugin page: coinpaprika
  • Plugin version: 1.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.9
  • WordPress version: 6.3.1
  • First release: Sep 13, 2018
  • Latest release: Oct 5, 2018
  • Number of updates: 15
  • Update frequency: every 1.5 days
  • Top authors: coinpaprika (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active /4,601 total downloads


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
Install script ran successfully

Server metrics [RAM: ▲0.12MB] [CPU: ▼5.74ms] Passed 4 tests

A check of server-side resources used by Coinpaprika
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1243.25 ▼2.05
Dashboard /wp-admin3.42 ▲0.1250.72 ▲1.88
Posts /wp-admin/edit.php3.53 ▲0.1849.88 ▼1.29
Add New Post /wp-admin/post-new.php6.00 ▲0.1287.47 ▼21.50
Media Library /wp-admin/upload.php3.34 ▲0.1243.87 ▲7.38

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options

Browser metrics Passed 4 tests

Coinpaprika: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.35 ▲0.002.06 ▲0.1244.36 ▼1.92
Dashboard /wp-admin2,198 ▲215.62 ▼0.0389.21 ▼7.7442.18 ▲4.17
Posts /wp-admin/edit.php2,100 ▲31.99 ▲0.0036.28 ▼0.2336.78 ▲3.29
Add New Post /wp-admin/post-new.php1,526 ▼023.55 ▼0.06703.18 ▲74.4854.60 ▲8.54
Media Library /wp-admin/upload.php1,400 ▼04.12 ▼0.11112.10 ▲7.0746.88 ▲0.94

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin does not fully uninstall, leaving 8 options in the database
    • theysaidso_admin_options
    • widget_coinpaprika-ticker
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_coinpaprika-ranking
    • widget_recent-posts

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

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


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Tags: You are using too many tags: 15 tag instead of maximum 10
The official readme.txt might help

coinpaprika/coinpaprika.php Passed 13 tests

This is the main PHP file of "Coinpaprika" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
138 characters long description:
Crypto capitalization WordPress plugin featuring: easy to configure crypto price widgets & shortcodes with all available cryptocurrencies!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected516 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PO File1415880

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity21.25
▷ Minimum class complexity6.00
▷ Maximum class complexity29.00
Average method complexity5.50
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
▷ Static methods316.67%
▷ Public methods1583.33%
▷ Protected methods00.00%
▷ Private methods316.67%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin