Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.04MB] [CPU: ▼15.21ms] Passed 4 tests
An overview of server-side resources used by Glindr
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.02 ▲1.94 |
Dashboard /wp-admin | 3.45 ▲0.11 | 44.79 ▼14.19 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 43.19 ▼1.62 |
Add New Post /wp-admin/post-new.php | 5.34 ▼0.54 | 61.23 ▼46.69 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 35.49 ▲1.66 |
Glindr /wp-admin/options-general.php?page=gc_settings | 3.36 | 31.12 |
Server storage [IO: ▲1.75MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Glindr
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲22 | 14.23 ▲0.03 | 1.64 ▼0.23 | 45.07 ▲5.07 |
Dashboard /wp-admin | 2,196 ▲16 | 5.56 ▼0.03 | 84.77 ▲0.14 | 39.04 ▼5.00 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▲0.00 | 35.54 ▼0.08 | 29.70 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.11 ▲0.14 | 638.17 ▼42.10 | 59.68 ▲1.53 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.23 ▲0.05 | 102.60 ▼1.73 | 43.05 ▼2.52 |
Glindr /wp-admin/options-general.php?page=gc_settings | 782 | 2.02 | 24.58 | 23.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
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
No output text or server-side errors detected on direct access of PHP files
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)
There were no browser issues found
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
2 plugin tags: syndication, posts
glindr/glindr.php Passed 13 tests
The main PHP file in "Glindr" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
50 characters long description:
Quickly and easily syndicate your posts to Glindr.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin705 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 230 | 183 | 653 |
JavaScript | 2 | 10 | 1 | 49 |
CSS | 1 | 0 | 1 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 9.83 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 35 | 100.00% |
▷ Public methods | 23 | 65.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 34.29% |
Functions | 17 | |
▷ Named functions | 14 | 82.35% |
▷ Anonymous functions | 3 | 17.65% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
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 |
icon-128x128.png | 2.20KB | 0.77KB | ▼ 65.13% |