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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 27.88 ▼11.48 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.69 ▼14.70 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.73 ▼2.25 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.90 ▼9.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.36 ▼0.09 |
Tipso Settings /wp-admin/options-general.php?page=Tipso | 3.19 | 31.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.42 ▼0.95 | 2.68 ▲0.69 | 42.44 ▼1.18 |
Dashboard /wp-admin | 2,234 ▲46 | 5.11 ▲0.21 | 105.03 ▼9.73 | 40.49 ▼0.50 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.29 ▲0.25 | 42.08 ▲3.96 | 33.64 ▼5.90 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 17.55 ▼5.50 | 636.53 ▼49.96 | 39.34 ▼6.67 |
Media Library /wp-admin/upload.php | 1,410 ▲19 | 4.49 ▲0.36 | 102.27 ▼16.89 | 43.42 ▼6.71 |
Tipso Settings /wp-admin/options-general.php?page=Tipso | 1,153 | 2.41 | 46.06 | 26.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 47 | 30 | 200 |
JavaScript | 4 | 4 | 7 | 52 |
CSS | 2 | 0 | 0 | 12 |
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 code | 0.16 |
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 | 18 | |
▷ Named functions | 18 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin