Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.10ms] Passed 4 tests
This is a short check of server-side resources used by LeadSource Tracker - Free Edition
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.50 ▼15.20 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.21 ▲2.35 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.18 ▼0.28 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.12 ▼9.54 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.00 ▲0.61 |
LeadSource Tracker /wp-admin/options-general.php?page=ldsrctrckr_store_leadsource-settings | 3.23 | 32.62 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for LeadSource Tracker - Free Edition
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.64 ▼0.72 | 1.65 ▼0.65 | 38.04 ▼7.75 |
Dashboard /wp-admin | 2,210 ▲19 | 4.87 ▼0.01 | 111.67 ▲10.13 | 40.93 ▼5.19 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.05 ▲0.01 | 40.36 ▲1.69 | 34.28 ▼3.41 |
Add New Post /wp-admin/post-new.php | 1,550 ▲16 | 18.34 ▼4.80 | 596.66 ▲4.81 | 69.22 ▲11.55 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.19 ▼0.06 | 93.33 ▼6.72 | 41.98 ▼3.01 |
LeadSource Tracker /wp-admin/options-general.php?page=ldsrctrckr_store_leadsource-settings | 892 | 2.05 | 22.59 | 24.46 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 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/leadsource-tracker/leadsourcetracker.free.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (16 tag instead of maximum 10)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== leadsource-tracker ===
)
leadsource-tracker/leadsourcetracker.free.php 85% from 13 tests
The principal PHP file in "LeadSource Tracker - Free Edition" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("leadsource-tracker.php" instead of "leadsourcetracker.free.php")
- Description: The description should be shorter than 140 characters (currently 424 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected118 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 21 | 118 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected