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.01MB] [CPU: ▼6.26ms] Passed 4 tests
An overview of server-side resources used by Mobile Assistant Connector
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.46 ▼2.32 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.41 ▼3.73 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 46.91 ▲0.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.40 ▼19.31 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.84 ▲1.40 |
Server storage [IO: ▲1.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Mobile Assistant Connector
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 13.21 ▼1.14 | 1.51 ▼0.15 | 38.87 ▼4.49 |
Dashboard /wp-admin | 2,218 ▲35 | 4.86 ▼0.12 | 99.28 ▼8.36 | 39.56 ▼1.70 |
Posts /wp-admin/edit.php | 2,095 ▲9 | 2.00 ▼0.01 | 33.12 ▼3.10 | 34.09 ▲3.02 |
Add New Post /wp-admin/post-new.php | 1,537 ▲20 | 22.71 ▲4.95 | 685.05 ▲49.50 | 52.12 ▼0.48 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.34 ▲0.11 | 95.54 ▼0.98 | 44.46 ▲2.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #11 (Mobile Assistant Push Notifications), #12 (Mobile Assistant Side Menu), #13 (Mobile Assistant Widget), #14 (Widget), #15 (Plugin)
- Tags: You are using too many tags: 11 tag instead of maximum 10
mobile-assistant-connector/mobassistantconnector.php 85% from 13 tests
The principal PHP file in "Mobile Assistant Connector" v. 2.2.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("mobile-assistant-connector.php" instead of "mobassistantconnector.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 171 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected11,293 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 2,113 | 619 | 10,130 |
JavaScript | 4 | 133 | 32 | 599 |
PO File | 2 | 166 | 166 | 374 |
CSS | 2 | 40 | 6 | 190 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 166.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 953.00 |
Average method complexity | 7.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.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 | 267 | |
▷ Static methods | 45 | 16.85% |
▷ Public methods | 144 | 53.93% |
▷ Protected methods | 9 | 3.37% |
▷ Private methods | 114 | 42.70% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 119 | |
▷ Global constants | 8 | 6.72% |
▷ Class constants | 111 | 93.28% |
▷ Public constants | 111 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/unchecked.png | 0.40KB | 0.15KB | ▼ 62.32% |
images/add.png | 0.60KB | 0.40KB | ▼ 33.82% |
images/bulk_trash.png | 0.37KB | 0.40KB | 0.00% |
images/checked.png | 0.46KB | 0.36KB | ▼ 22.55% |
images/down.png | 0.42KB | 0.25KB | ▼ 40.09% |