Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼0.72ms] Passed 4 tests
This is a short check of server-side resources used by !teoola
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 42.21 ▼1.17 |
Dashboard /wp-admin | 3.45 ▲0.15 | 54.45 ▲3.88 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 51.34 ▼1.03 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 88.86 ▼4.54 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 40.02 ▲5.52 |
Settings /wp-admin/admin.php?page=teoola-setting-page | 3.17 | 27.82 |
Server storage [IO: ▲1.46MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 43 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_teoola_popups |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for !teoola
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲65 | 13.24 ▼1.32 | 1.73 ▼0.41 | 38.91 ▼4.64 |
Dashboard /wp-admin | 2,231 ▲39 | 5.82 ▲0.85 | 109.88 ▼0.12 | 69.12 ▲25.95 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.00 ▼0.06 | 38.39 ▲3.99 | 35.89 ▲3.37 |
Add New Post /wp-admin/post-new.php | 1,687 ▲167 | 22.41 ▼0.70 | 768.05 ▲75.13 | 52.23 ▼22.88 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.25 ▲0.05 | 102.17 ▼5.33 | 69.26 ▲24.09 |
Settings /wp-admin/admin.php?page=teoola-setting-page | 980 | 2.32 | 32.43 | 53.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 failed, leaving 1 table in the database
- wp_teoola_popups
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=teoola-setting-page
- > Notice in wp-content/plugins/teoola/login.php+19
Undefined variable: last_user
SRP 0% 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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/teoola/modal.php
- > /wp-content/plugins/teoola/contact_steps.php
- 29× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/teoola/settings.php:74
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/teoola/settings_apikey.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/teoola/view/events.php:5
- > PHP Notice
Undefined variable: default_bg_icon_color in wp-content/plugins/teoola/settings.php on line 40
- > PHP Notice
Undefined variable: list_popups in wp-content/plugins/teoola/modal.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/teoola/settings_events.php:7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/teoola/settings_apikey.php on line 25
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/teoola/view/calendar_news.php:8
- > PHP Notice
Undefined variable: default_header_color in wp-content/plugins/teoola/settings.php on line 43
- > PHP Notice
Undefined variable: arr_user in wp-content/plugins/teoola/settings_apikey.php on line 24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
1 plugin tags: teoola
teoola/teoola.php Passed 13 tests
The entry point to "!teoola" version 1.5.7 is a PHP file that has certain tags in its header comment area
121 characters long description:
!teoola affords a "new insigh" into an address book and creates a "word of mouth" recommendation tool on your Smartphone.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin11,253 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 443 | 1,736 | 8,141 |
PHP | 17 | 154 | 71 | 1,650 |
CSS | 5 | 133 | 30 | 863 |
PO File | 2 | 158 | 166 | 418 |
SVG | 1 | 0 | 0 | 181 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 34 | |
▷ Named functions | 34 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/teoola-icon.png | 0.16KB | 0.17KB | 0.00% |