90% wrc-pricing-tables

Code Review | WRC Pricing Tables - WordPress Responsive CSS3 Pricing Tables

WordPress plugin WRC Pricing Tables - WordPress Responsive CSS3 Pricing Tables scored90%from 54 tests.

About plugin

  • Plugin page: wrc-pricing-tables
  • Plugin version: 2.4.1
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.4.1
  • WordPress version: 6.3.1
  • First release: May 6, 2015
  • Latest release: Nov 22, 2023
  • Number of updates: 184
  • Update frequency: every 17.0 days
  • Top authors: moviehour (98.37%)realwebcare (2.17%)

Code review

54 tests

User reviews

35 reviews

Install metrics

2,000+ active /78,263 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.44MB] [CPU: ▼1.08ms] Passed 4 tests

An overview of server-side resources used by WRC Pricing Tables - WordPress Responsive CSS3 Pricing Tables
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0548.96 ▲7.68
Dashboard /wp-admin3.87 ▲0.5752.34 ▲0.18
Posts /wp-admin/edit.php3.98 ▲0.6349.26 ▲1.48
Add New Post /wp-admin/post-new.php6.47 ▲0.5984.45 ▼13.66
Media Library /wp-admin/upload.php3.80 ▲0.5742.26 ▲9.13
All Pricing Tables /wp-admin/admin.php?page=wrcpt-menu3.8638.99
Help /wp-admin/admin.php?page=wrcpt-help3.8134.05
Templates /wp-admin/admin.php?page=wrcpt-template3.7640.65

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts
wrcpt_activation_time

Browser metrics Passed 4 tests

A check of browser resources used by WRC Pricing Tables - WordPress Responsive CSS3 Pricing Tables
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,882 ▲12013.58 ▼0.765.00 ▲3.2141.99 ▼0.86
Dashboard /wp-admin2,252 ▲755.77 ▲0.1397.47 ▲4.4892.09 ▲50.41
Posts /wp-admin/edit.php2,170 ▲672.34 ▲0.3938.09 ▼2.5135.86 ▼2.38
Add New Post /wp-admin/post-new.php1,576 ▲4223.18 ▼1.95754.95 ▲157.9537.73 ▼39.13
Media Library /wp-admin/upload.php1,457 ▲634.39 ▲0.20115.41 ▲18.9878.45 ▲35.12
All Pricing Tables /wp-admin/admin.php?page=wrcpt-menu9502.0530.0151.04
Help /wp-admin/admin.php?page=wrcpt-help1,7909.02273.00116.91
Templates /wp-admin/admin.php?page=wrcpt-template1,1312.0333.9445.82

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • wrcpt_activation_time
    • widget_recent-posts
    • widget_recent-comments
    • 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
Good news, no errors were detected

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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Screenshots: Please add images for these screenshots: #1 (Pricing Table: Highlighted column with black background.), #2 (Pricing Table: Prominent column with blue background.), #3 (Pricing Table: Distinctive column with orange background.), #4 (Pricing Table: Expanded special column.), #5 (Pricing Table: Standout blue column, retaining feature section.), #6 (Pricing Comparison Table Example), #7 (List of Pricing Tables), #8 (Pricing Table column details & column colors), #9 (Pricing Table 4 types of settings), #10 (Pricing Table 15 ready-made templates.)
You can look at the official readme.txt

wrc-pricing-tables/wrc-pricing-tables.php Passed 13 tests

The entry point to "WRC Pricing Tables - WordPress Responsive CSS3 Pricing Tables" version 2.4.1 is a PHP file that has certain tags in its header comment area
139 characters long description:
Responsive pricing table plugin developed to display pricing table in a lot more professional way on different posts or pages by SHORTCODE.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin4,633 lines of code in 21 files:
LanguageFilesBlank linesComment linesLines of code
PHP121121992,074
PO File24714861,273
CSS5363803
JavaScript21737483

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.60
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions30
▷ Named functions30100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
28 compressed PNG files occupy 0.65MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/template-13.png8.75KB8.75KB0.00%
images/template-6.png9.45KB9.45KB0.00%
screenshot-6.png25.04KB25.01KB0.14%
screenshot-3.png21.35KB21.35KB0.00%
screenshot-8.png32.55KB32.55KB0.00%