Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼3.56ms] Passed 4 tests
Server-side resources used by Social Media Counters for WordPress - Arkam Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.32 | 42.65 ▲4.59 |
Dashboard /wp-admin | 3.73 ▲0.38 | 50.40 ▼8.80 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 50.98 ▲4.14 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.37 | 83.75 ▼13.99 |
Media Library /wp-admin/upload.php | 3.59 ▲0.35 | 37.20 ▲4.40 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_arkam_lite_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Social Media Counters for WordPress - Arkam Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲194 | 13.45 ▼0.84 | 1.69 ▼0.12 | 39.85 ▼3.82 |
Dashboard /wp-admin | 2,332 ▲147 | 5.06 ▼0.02 | 100.22 ▼1.89 | 78.92 ▲33.87 |
Posts /wp-admin/edit.php | 2,217 ▲128 | 2.47 ▲0.46 | 41.78 ▲1.01 | 37.03 ▲4.38 |
Add New Post /wp-admin/post-new.php | 1,789 ▲247 | 22.74 ▼0.29 | 754.28 ▲97.73 | 37.16 ▼19.93 |
Media Library /wp-admin/upload.php | 1,505 ▲117 | 4.46 ▲0.25 | 102.61 ▼4.72 | 71.42 ▲24.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_arkam_lite_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #2, #3, #4, #5, #6 in arkam-lite/assets to your readme.txt
arkam-lite/init.php 92% from 13 tests
The main PHP script in "Social Media Counters for WordPress - Arkam Lite" version 1.0.1 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("arkam-lite.php" instead of "init.php")
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin3,237 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 539 | 699 | 1,610 |
CSS | 4 | 18 | 43 | 585 |
PO File | 2 | 340 | 540 | 551 |
JavaScript | 4 | 109 | 67 | 454 |
SVG | 2 | 24 | 0 | 37 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 15.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 2 | 2.70% |
▷ Public methods | 68 | 91.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 8.11% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
assets/img/icon.png | 4.51KB | 2.37KB | ▼ 47.42% |