84% feedback-champuru

Code Review | Feedback Champuru

WordPress plugin Feedback Champuru scored 84% from 54 tests.

About plugin

  • Plugin page: feedback-champuru
  • Plugin version: 0.5.6
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-3.5.1
  • WordPress version: 5.8.1
  • First release: Jul 22, 2010
  • Latest release: Feb 4, 2013
  • Number of updates: 46
  • Update frequency: every 20.2 days
  • Top authors: wokamoto (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 9,161 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.28MB] [CPU: ▼157.23ms] Passed 4 tests

Analyzing server-side resources used by Feedback Champuru
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.10 ▲0.2729.42 ▲2.02
Dashboard /wp-admin3.39 ▲0.3336.60 ▼4.51
Posts /wp-admin/edit.php3.44 ▲0.3336.83 ▲2.07
Add New Post /wp-admin/post-new.php5.69 ▲0.2574.81 ▼627.52
Media Library /wp-admin/upload.php3.27 ▲0.2725.78 ▲1.10

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 1 new option
New WordPress options
feedback-champuru Options

Browser metrics Passed 4 tests

An overview of browser requirements for Feedback Champuru
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,672 ▲7115.63 ▼0.086.40 ▼1.5674.20 ▼0.00
Dashboard /wp-admin2,935 ▲396.16 ▼0.11115.64 ▼20.19167.27 ▼6.24
Posts /wp-admin/edit.php2,745 ▲53.24 ▲0.0064.19 ▲3.80141.53 ▲11.79
Add New Post /wp-admin/post-new.php3,819 ▲7818.81 ▲0.39422.53 ▼75.30172.20 ▼13.09
Media Library /wp-admin/upload.php1,754 ▼15.50 ▼0.02138.73 ▼2.95183.04 ▼9.73
Feedback Champuru /wp-admin/feedback-champuru.php260.940.0324.12

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • The uninstall procedure has failed, leaving 1 option in the database
    • feedback-champuru Options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
    • > GET request to /wp-admin/feedback-champuru.php
    • > Network (severe)
    wp-admin/feedback-champuru.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: livedoor clip, hatena bookmark, delicious, twitter, googleplus...

feedback-champuru/feedback-champuru.php Passed 13 tests

"Feedback Champuru" version 0.5.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
103 characters long description:
This plugin makes WordPress Comment boisterous adding feedbacks of Twitter, Social Bookmarks and so on.

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
There were no executable files found in this plugin1,599 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP23194821,478
PO File24684121

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity90.25
▷ Minimum class complexity1.00
▷ Maximum class complexity239.00
Average method complexity6.17
▷ Minimum method complexity1.00
▷ Maximum method complexity67.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods69
▷ Static methods00.00%
▷ Public methods3550.72%
▷ Protected methods00.00%
▷ Private methods3449.28%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants18
▷ Global constants738.89%
▷ Class constants1161.11%
▷ Public constants11100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/googleplus_32.png1.95KB1.78KB▼ 8.81%
images/tweet_16.png0.59KB0.47KB▼ 20.56%
images/googleplus_16.png0.45KB0.41KB▼ 8.52%
images/delicious_32.png0.84KB1.03KB0.00%
images/tweet_32.png1.06KB0.93KB▼ 12.76%