Benchmarks
Plugin footprint Passed 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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼137.42ms] Passed 4 tests
Analyzing server-side resources used by Algori Social Share Buttons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 35.43 ▲2.66 |
Dashboard /wp-admin | 3.07 ▲0.01 | 43.83 ▼1.21 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 43.28 ▼2.34 |
Add New Post /wp-admin/post-new.php | 5.83 ▲0.39 | 95.08 ▼548.50 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 35.10 ▲2.39 |
Server storage [IO: ▲2.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Algori Social Share Buttons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,951 ▲369 | 24.10 ▲8.52 | 111.30 ▲102.88 | 66.01 ▲22.25 |
Dashboard /wp-admin | 2,981 ▲50 | 5.89 ▼0.23 | 123.30 ▼28.27 | 113.66 ▼0.31 |
Posts /wp-admin/edit.php | 2,744 ▲8 | 2.68 ▼0.02 | 65.21 ▼7.22 | 89.68 ▼6.50 |
Add New Post /wp-admin/post-new.php | 2,076 ▲19 | 19.62 ▲0.25 | 356.89 ▼12.17 | 112.26 ▼3.73 |
Media Library /wp-admin/upload.php | 1,821 ▲11 | 5.04 ▲0.05 | 147.39 ▼2.67 | 122.06 ▲3.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
social-share-buttons-lite/algori-social-share-buttons-lite.php 85% from 13 tests
"Algori Social Share Buttons" version 1.0.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 341 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("social-share-buttons-lite.php" instead of "algori-social-share-buttons-lite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin8,199 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 1,186 | 49 | 4,042 |
SVG | 2 | 0 | 0 | 3,460 |
JavaScript | 4 | 89 | 72 | 426 |
Markdown | 1 | 45 | 0 | 103 |
Sass | 3 | 33 | 1 | 96 |
PHP | 3 | 12 | 62 | 59 |
JSON | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected