Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.64ms] Passed 4 tests
Analyzing server-side resources used by ILAnnotations
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.06 ▼1.68 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.85 ▼4.29 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.38 ▲1.32 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.40 ▼8.36 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.47 ▼4.21 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for ILAnnotations
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲160 | 13.56 ▼1.10 | 16.49 ▲14.83 | 40.08 ▲1.38 |
Dashboard /wp-admin | 2,195 ▲18 | 5.65 ▲0.07 | 92.62 ▲2.11 | 46.62 ▲7.85 |
Posts /wp-admin/edit.php | 2,103 ▲24 | 1.98 ▼0.00 | 35.57 ▼1.91 | 29.61 ▼7.52 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 18.35 ▼5.27 | 631.66 ▲3.73 | 75.72 ▼0.29 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.21 ▲0.01 | 98.60 ▼5.57 | 42.65 ▼0.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
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
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ilannotations/ilannotations.php
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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: highlight, annotations, comments
ilannotations/ilannotations.php Passed 13 tests
This is the main PHP file of "ILAnnotations" version 0.9.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
80 characters long description:
Adds the Annotation functionality to the existing commenting system of Wordpress
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
There were no executable files found in this plugin1,036 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 83 | 108 | 576 |
PHP | 5 | 48 | 200 | 341 |
CSS | 1 | 3 | 0 | 90 |
HTML | 1 | 5 | 0 | 29 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 8 | 40.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
_inc/icon.png | 2.98KB | 2.36KB | ▼ 20.73% |