Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.24MB] [CPU: ▼13.38ms] Passed 4 tests
Server-side resources used by Chokidar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 5.41 ▼33.29 |
Dashboard /wp-admin | 3.44 ▲0.09 | 45.62 ▼13.12 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 48.44 ▲0.87 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 90.76 ▼7.99 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.89 ▲0.93 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Chokidar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 14.24 ▼0.45 | 1.69 ▲0.06 | 37.78 ▼1.69 |
Dashboard /wp-admin | 2,213 ▲44 | 5.59 ▼0.07 | 91.21 ▼9.66 | 45.06 ▲1.23 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.96 ▲0.01 | 38.61 ▲1.55 | 35.30 ▲1.87 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.01 ▼0.55 | 589.68 ▼104.61 | 48.16 ▼9.71 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.24 ▲0.02 | 94.88 ▼19.22 | 41.32 ▼7.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 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 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: brute force, visitor, list, tracking, attempts...
chokidar/chokidar.php Passed 13 tests
The main file in "Chokidar" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
73 characters long description:
Boost Your Website Performance and Security with Top 10 Visitor Insights!
Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin5,662 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 681 | 996 | 5,653 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 4 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 301)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 29.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 344.00 |
Average method complexity | 5.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 301.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 13 | 76.47% |
Methods | 105 | |
▷ Static methods | 64 | 60.95% |
▷ Public methods | 88 | 83.81% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 16.19% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
Constants | 24 | |
▷ Global constants | 4 | 16.67% |
▷ Class constants | 20 | 83.33% |
▷ Public constants | 10 | 50.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 images were found in this plugin