Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/leadtracker/ltk-config.php+33
Undefined index: page
Server metrics [RAM: ▼1.20MB] [CPU: ▼51.96ms] Passed 4 tests
Server-side resources used by Lead Tracker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.77 ▼0.69 | 14.47 ▼23.09 |
Dashboard /wp-admin | 2.81 ▼0.49 | 18.15 ▼33.19 |
Posts /wp-admin/edit.php | 2.81 ▼0.54 | 18.74 ▼32.40 |
Add New Post /wp-admin/post-new.php | 2.81 ▼3.07 | 14.89 ▼119.14 |
Media Library /wp-admin/upload.php | 2.81 ▼0.42 | 14.51 ▼20.63 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
LTK_OAUTH_TOKEN |
theysaidso_admin_options |
can_compress_scripts |
LTK_ID |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Lead Tracker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲40 | 14.28 ▼0.07 | 1.82 ▼0.24 | 44.99 ▲4.50 |
Dashboard /wp-admin | 2,220 ▲40 | 5.56 ▼0.09 | 89.08 ▼1.72 | 71.15 ▲29.16 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 1.99 ▼0.02 | 34.27 ▼15.62 | 31.87 ▼8.38 |
Add New Post /wp-admin/post-new.php | 1,561 ▲24 | 22.90 ▲4.45 | 735.18 ▲57.41 | 76.07 ▲2.57 |
Media Library /wp-admin/upload.php | 1,440 ▲46 | 4.17 ▼0.04 | 103.72 ▲4.54 | 83.32 ▲41.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/leadtracker/ltk-config.php+33
Undefined index: page
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/leadtracker/ltk-init.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/leadtracker/leadtracker.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/leadtracker/contents/cssInit.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== leadtracker ===
)
leadtracker/leadtracker.php Passed 13 tests
The main file in "Lead Tracker" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
47 characters long description:
Mensure, analise e acompanhe seus lançamentos.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected384 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 158 | 122 | 373 |
SVG | 2 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 22 | 100.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.50MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
contents/dashboard.png | 30.87KB | 12.02KB | ▼ 61.05% |
screenshot-1.png | 148.74KB | 56.06KB | ▼ 62.31% |
contents/ui_wp_ltk.png | 115.18KB | 33.19KB | ▼ 71.18% |
icon-256x256.png | 3.18KB | 1.43KB | ▼ 55.20% |
contents/ui_wp_ltk_usr.PNG | 37.75KB | 11.67KB | ▼ 69.09% |