Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/the-wp-tracker/vendor/catfan/medoo/src/Medoo.php+292
implode(): Passing glue string after array is deprecated. Swap the parameters
Server metrics [RAM: ▼1.48MB] [CPU: ▼52.30ms] Passed 4 tests
Server-side resources used by The Wordpress Tracker Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.52 ▼0.94 | 6.83 ▼39.11 |
Dashboard /wp-admin | 2.55 ▼0.80 | 7.91 ▼47.97 |
Posts /wp-admin/edit.php | 2.55 ▼0.81 | 9.23 ▼41.65 |
Add New Post /wp-admin/post-new.php | 2.55 ▼3.34 | 9.63 ▼80.46 |
Media Library /wp-admin/upload.php | 2.55 ▼0.69 | 7.95 ▼27.96 |
Server storage [IO: ▲0.76MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 111 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_the_tracker_clients |
wp_the_tracker_sessions |
wp_the_tracker_tracks |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
The Wordpress Tracker Plugin: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.29 ▼1.01 | 1.68 ▼0.09 | 39.56 ▼9.67 |
Dashboard /wp-admin | 2,219 ▲28 | 4.84 ▼0.10 | 98.92 ▼17.47 | 36.32 ▼6.94 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 1.97 ▼0.04 | 40.84 ▲3.89 | 35.58 ▲2.64 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 23.32 ▲0.14 | 633.44 ▼47.00 | 53.68 ▼0.89 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.21 ▼0.10 | 94.62 ▲2.09 | 42.19 ▲1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/the-wp-tracker/vendor/catfan/medoo/src/Medoo.php+292
implode(): Passing glue string after array is deprecated. Swap the parameters
- Zombie tables were found after uninstall: 3 tables
- wp_the_tracker_clients
- wp_the_tracker_tracks
- wp_the_tracker_sessions
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 43× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Trait 'PetrKnap\\Php\\Singleton\\SingletonTrait' not found in wp-content/plugins/the-wp-tracker/core/Plugin.php on line 9
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Converter\umberConverterInterface' not found in wp-content/plugins/the-wp-tracker/vendor/ramsey/uuid/src/Converter/Number/DegradedNumberConverter.php:25
- > PHP Fatal error
Uncaught Error: Class 'WpTracker\\Framework\\Database\\Model' not found in wp-content/plugins/the-wp-tracker/core/App/Models/Track.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Provider\\TimeProviderInterface' not found in wp-content/plugins/the-wp-tracker/vendor/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Generator\\RandomGeneratorInterface' not found in wp-content/plugins/the-wp-tracker/vendor/ramsey/uuid/src/Generator/CombGenerator.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Generator\\RandomGeneratorInterface' not found in wp-content/plugins/the-wp-tracker/vendor/ramsey/uuid/src/Generator/SodiumRandomGenerator.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\UuidInterface' not found in wp-content/plugins/the-wp-tracker/vendor/ramsey/uuid/src/Uuid.php:37
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Generator\\TimeGeneratorInterface' not found in wp-content/plugins/the-wp-tracker/vendor/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php:23
- > PHP Fatal error
Uncaught Error: Class 'Ramsey\\Uuid\\Codec\\StringCodec' not found in wp-content/plugins/the-wp-tracker/vendor/ramsey/uuid/src/Codec/TimestampLastCombCodec.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Generator\\TimeGeneratorInterface' not found in wp-content/plugins/the-wp-tracker/vendor/ramsey/uuid/src/Generator/DefaultTimeGenerator.php:27
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== the-wp-tracker ===
) - Screenshots: Add a description for screenshot #1 in the-wp-tracker/assets to your readme.txt
the-wp-tracker/index.php 92% from 13 tests
"The Wordpress Tracker Plugin" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("the-wp-tracker.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected5,312 lines of code in 98 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 77 | 968 | 2,684 | 3,901 |
Markdown | 9 | 327 | 0 | 649 |
JSON | 7 | 0 | 0 | 644 |
CSS | 1 | 8 | 9 | 91 |
XML | 1 | 0 | 0 | 19 |
JavaScript | 2 | 0 | 17 | 5 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 7.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 275.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 11 | |
Traits | 1 | |
Classes | 56 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 56 | 100.00% |
▷ Final classes | 1 | 1.79% |
Methods | 319 | |
▷ Static methods | 42 | 13.17% |
▷ Public methods | 265 | 83.07% |
▷ Protected methods | 35 | 10.97% |
▷ Private methods | 19 | 5.96% |
Functions | 24 | |
▷ Named functions | 14 | 58.33% |
▷ Anonymous functions | 10 | 41.67% |
Constants | 23 | |
▷ Global constants | 7 | 30.43% |
▷ Class constants | 16 | 69.57% |
▷ Public constants | 16 | 100.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
PNG images were not found in this plugin