Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼4.53ms] Passed 4 tests
This is a short check of server-side resources used by Mesajkolik
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.15 | 45.22 ▲0.22 |
Dashboard /wp-admin | 3.79 ▲0.22 | 54.69 ▼0.25 |
Posts /wp-admin/edit.php | 3.84 ▲0.16 | 57.02 ▼0.42 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.18 | 87.95 ▼17.20 |
Media Library /wp-admin/upload.php | 3.65 ▲0.16 | 39.76 ▼0.26 |
Server storage [IO: ▲2.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Mesajkolik
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲37 | 13.63 ▼0.67 | 5.51 ▲3.59 | 28.37 ▼19.12 |
Dashboard /wp-admin | 2,214 ▲37 | 5.21 ▼0.41 | 99.14 ▲5.53 | 96.17 ▲48.87 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.34 ▲0.36 | 38.89 ▲0.51 | 40.32 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,712 ▲180 | 23.34 ▲0.09 | 603.03 ▼87.88 | 37.90 ▼20.65 |
Media Library /wp-admin/upload.php | 1,428 ▲31 | 4.90 ▲0.65 | 104.24 ▼0.13 | 82.95 ▲35.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- 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 everything seems fine, this is not 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 items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mesajkolik/mesajkolik.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_users() in wp-content/plugins/mesajkolik/views/index.php:2
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: trkiye sms, wordpress sms, organik haberleme teknolojileri, woocommerce sms, toplu sms...
mesajkolik/mesajkolik.php Passed 13 tests
Analyzing the main PHP file in "Mesajkolik" version 1.0
38 characters long description:
Organik Haberlesme Toplu SMS Eklentisi
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected20,135 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 2,059 | 22 | 10,851 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 6 | 33 | 44 | 2,069 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 3 | 94 | 48 | 1,008 |
Markdown | 1 | 5 | 0 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 20 | |
▷ Named functions | 20 | 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
3 PNG files occupy 0.44MB with 0.32MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/logo-menu.png | 5.29KB | 0.89KB | ▼ 83.12% |
includes/img/organik-logo.png | 286.76KB | 94.79KB | ▼ 66.94% |
includes/img/logo-mini.png | 156.82KB | 47.90KB | ▼ 69.46% |