Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.59ms] Passed 4 tests
An overview of server-side resources used by TC Perfect Tools
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.76 ▼10.48 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.19 ▼0.64 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.31 ▼1.59 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 97.27 ▲9.32 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.41 ▼1.63 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TC Perfect Tools
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▼0 | 13.21 ▼0.25 | 1.89 ▼2.89 | 45.68 ▲1.81 |
Dashboard /wp-admin | 2,203 ▼3 | 5.84 ▼0.07 | 107.47 ▼1.39 | 40.22 ▲3.34 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▲0.05 | 37.29 ▲0.47 | 31.29 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.34 ▲5.84 | 602.87 ▼101.40 | 69.27 ▲4.22 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.09 | 96.50 ▼13.76 | 42.21 ▼3.03 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: tooltips, elementor, custom js, restricted content, tools
tc-perfect-tools/tc-perfect-tools.php Passed 13 tests
Analyzing the main PHP file in "TC Perfect Tools" version 1.0.2
61 characters long description:
Add useful tools to your Elementor and Elementor Pro plugins!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected636 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 135 | 97 | 560 |
JavaScript | 1 | 14 | 0 | 57 |
CSS | 1 | 3 | 1 | 19 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 27 | 90.00% |
▷ Protected methods | 3 | 10.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
PNG images were not found in this plugin