73% tipso

Code Review | Tipso

WordPress plugin Tipso scored73%from 54 tests.

About plugin

  • Plugin page: tipso
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.2
  • WordPress version: 6.3.1
  • First release: Dec 18, 2014
  • Latest release: Apr 25, 2015
  • Number of updates: 8
  • Update frequency: every 16.0 days
  • Top authors: petkovskibojan (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

200+ active /4,436 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼9.47ms] Passed 4 tests

An overview of server-side resources used by Tipso
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.39 ▼0.0727.88 ▼11.48
Dashboard /wp-admin3.32 ▼0.0248.69 ▼14.70
Posts /wp-admin/edit.php3.37 ▲0.0249.73 ▼2.25
Add New Post /wp-admin/post-new.php5.92 ▲0.0394.90 ▼9.44
Media Library /wp-admin/upload.php3.24 ▲0.0236.36 ▼0.09
Tipso Settings /wp-admin/options-general.php?page=Tipso3.1931.05

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: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Tipso
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲8813.42 ▼0.952.68 ▲0.6942.44 ▼1.18
Dashboard /wp-admin2,234 ▲465.11 ▲0.21105.03 ▼9.7340.49 ▼0.50
Posts /wp-admin/edit.php2,116 ▲242.29 ▲0.2542.08 ▲3.9633.64 ▼5.90
Add New Post /wp-admin/post-new.php1,533 ▲1417.55 ▼5.50636.53 ▼49.9639.34 ▼6.67
Media Library /wp-admin/upload.php1,410 ▲194.49 ▲0.36102.27 ▼16.8943.42 ▼6.71
Tipso Settings /wp-admin/options-general.php?page=Tipso1,1532.4146.0626.17

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=Tipso
    • > Notice in wp-content/plugins/tipso/tipso-admin.php+135
    Trying to access array offset on value of type bool

SRP 0% 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 items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/tipso/tipso.php
  • 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/tipso/tipso-admin.php:2

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: responsive, shortcode, mobile, tooltip, tinymce

tipso/tipso.php Passed 13 tests

The primary PHP file in "Tipso" version 1.0.0 is used by WordPress to initiate all plugin functionality
39 characters long description:
A Lightweight Responsive Mobile Tooltip

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
Good job! No executable or dangerous file extensions detected264 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP24730200
JavaScript44752
CSS20012

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.16
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%
Functions18
▷ Named functions18100.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