83% simple-tel-tracking

Code Review | Simple Tel Tracking

WordPress plugin Simple Tel Tracking scored 83% from 54 tests.

About plugin

  • Plugin page: simple-tel-tracking
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.7
  • WordPress version: 6.3.1
  • First release: Nov 2, 2017
  • Latest release: Nov 21, 2017
  • Number of updates: 6
  • Update frequency: every 3.3 days
  • Top authors: harrymumf (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active / 1,023 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

Server-side resources used by Simple Tel Tracking
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.04 ▼4.50
Dashboard /wp-admin3.31 ▲0.0148.24 ▼2.42
Posts /wp-admin/edit.php3.36 ▲0.0045.17 ▼2.97
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.04 ▼20.37
Media Library /wp-admin/upload.php3.23 ▲0.0037.87 ▲3.07

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Simple Tel Tracking
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,910 ▲17513.60 ▼0.685.15 ▲3.3441.19 ▼2.82
Dashboard /wp-admin2,208 ▲204.80 ▼0.0797.60 ▼8.0639.27 ▼5.71
Posts /wp-admin/edit.php2,070 ▼192.00 ▼0.0433.83 ▲0.2736.01 ▲2.93
Add New Post /wp-admin/post-new.php1,530 ▼023.22 ▲0.19637.53 ▲20.9851.70 ▼9.81
Media Library /wp-admin/upload.php1,393 ▲54.27 ▲0.08109.15 ▼0.8548.86 ▲2.01

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-tel-tracking/simple-tel-tracking.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
  • Donate link: Please fix this invalid URI: ""
  • Plugin Name: Please specify the plugin name on the first line ( === simple-tel-tracking === )
Please take inspiration from this readme.txt

simple-tel-tracking/simple-tel-tracking.php 92% from 13 tests

Analyzing the main PHP file in "Simple Tel Tracking" version 1.0.0
Please take the time to fix the following:
  • Domain Path: The domain path folder was not found ("/languages")

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
Good job! No executable or dangerous file extensions detected34 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.00
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ 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
There are no PNG files in this plugin