Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼305.50ms] Passed 4 tests
Server-side resources used by The Tooltip
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 52.62 ▲1.14 |
Dashboard /wp-admin | 3.42 ▲0.01 | 33.07 ▼6.88 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 38.39 ▲0.49 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 95.73 ▼1,214.40 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 26.14 ▼1.21 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for The Tooltip
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,765 ▲11 | 15.94 ▲0.34 | 5.67 ▼0.38 | 2.28 ▼0.54 |
Dashboard /wp-admin | 2,895 ▲37 | 6.10 ▼0.11 | 118.71 ▼25.20 | 158.50 ▼9.42 |
Posts /wp-admin/edit.php | 2,688 ▼0 | 3.25 ▲0.02 | 64.92 ▲3.29 | 138.70 ▼15.21 |
Add New Post /wp-admin/post-new.php | 1,757 ▲96 | 21.27 ▲4.74 | 449.81 ▲24.78 | 158.09 ▲3.37 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.49 ▼0.04 | 140.91 ▲2.40 | 185.08 ▲0.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/the-tooltip/the-tooltip.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
the-tooltip/the-tooltip.php Passed 13 tests
The entry point to "The Tooltip" version 1.0.2 is a PHP file that has certain tags in its header comment area
67 characters long description:
Simple WordPress tooltip shortcode, full customize and easy to use.
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 detected176 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 36 | 26 | 116 |
CSS | 1 | 4 | 0 | 48 |
JavaScript | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected