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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.63ms] Passed 4 tests
A check of server-side resources used by Clariti
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.55 ▼1.10 |
Dashboard /wp-admin | 3.38 ▲0.04 | 44.48 ▼16.43 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 47.22 ▲1.24 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 82.72 ▼6.24 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 35.17 ▲1.24 |
Clariti /wp-admin/options-general.php?page=clariti | 3.27 | 33.37 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Clariti: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.57 ▲0.23 | 1.49 ▼0.15 | 38.78 ▼4.95 |
Dashboard /wp-admin | 2,202 ▲25 | 5.58 ▼0.10 | 88.18 ▼10.92 | 41.67 ▼1.79 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▲0.01 | 42.71 ▲5.67 | 35.89 ▲2.54 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.15 ▼0.07 | 668.89 ▲76.12 | 63.02 ▲21.34 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▲0.01 | 98.65 ▼2.42 | 41.83 ▼2.03 |
Clariti /wp-admin/options-general.php?page=clariti | 769 | 2.00 | 25.57 | 24.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clariti/clariti.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: site optimization, blogging
clariti/clariti.php 92% from 13 tests
The main file in "Clariti" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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 detected645 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 133 | 369 | 645 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 22.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 32 | 100.00% |
▷ Public methods | 31 | 96.88% |
▷ Protected methods | 1 | 3.12% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 15 | |
▷ Global constants | 1 | 6.67% |
▷ Class constants | 14 | 93.33% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin