84% tappd-press

Code Review | Tappd Press for Business

WordPress plugin Tappd Press for Business scored 84% from 54 tests.

About plugin

  • Plugin page: tappd-press
  • Plugin version: 0.1.7
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.7.2
  • WordPress version: 5.8.1
  • First release: Dec 24, 2016
  • Latest release: Feb 3, 2017
  • Number of updates: 24
  • Update frequency: every 1.7 days
  • Top authors: bluepandastudios (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active / 1,645 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼141.63ms] Passed 4 tests

An overview of server-side resources used by Tappd Press for Business
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.88 ▲0.0537.35 ▲3.59
Dashboard /wp-admin3.11 ▲0.0540.80 ▼4.76
Posts /wp-admin/edit.php3.16 ▲0.0539.45 ▼2.74
Add New Post /wp-admin/post-new.php5.47 ▲0.0393.86 ▼556.47
Media Library /wp-admin/upload.php3.05 ▲0.0529.98 ▼2.53
Tappd Press for Business /wp-admin/options-general.php?page=tpfb3.0229.33

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 2 new options
New WordPress options
tpfb_email_address
tpfb_api_key

Browser metrics Passed 4 tests

A check of browser resources used by Tappd Press for Business
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,684 ▲8915.90 ▼0.109.93 ▲1.4051.65 ▲1.78
Dashboard /wp-admin2,978 ▲475.90 ▼0.06143.81 ▲2.20122.77 ▲14.64
Posts /wp-admin/edit.php2,744 ▲52.72 ▲0.0162.37 ▼3.3497.00 ▲7.40
Add New Post /wp-admin/post-new.php1,618 ▲11821.80 ▲3.02302.05 ▼75.07110.15 ▲5.98
Media Library /wp-admin/upload.php1,815 ▲55.04 ▼0.02145.30 ▲0.62118.72 ▲1.56
Tappd Press for Business /wp-admin/options-general.php?page=tpfb1,0662.0953.7889.24

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 2 options
    • tpfb_email_address
    • tpfb_api_key

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tappd-press/tappd-press.php:330

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: untappd, untappd for business

tappd-press/tappd-press.php 85% from 13 tests

This is the main PHP file of "Tappd Press for Business" version 0.1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • 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: The domain path folder was not found ("/languages")

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
Everything looks great! No dangerous files found in this plugin259 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13741259

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 images were found in this plugin