Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.84ms] Passed 4 tests
Analyzing server-side resources used by CallPhone'r
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.79 ▼2.12 |
Dashboard /wp-admin | 3.39 ▲0.09 | 51.28 ▼1.58 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 49.07 ▼5.85 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 97.16 ▲2.21 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 40.44 ▲4.32 |
Instruction /wp-admin/admin.php?page=callphoner_support | 3.28 | 33.09 |
Settings /wp-admin/admin.php?page=callphoner | 3.26 | 31.87 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for CallPhone'r
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.34 ▼0.01 | 2.08 ▼0.12 | 44.31 ▲0.33 |
Dashboard /wp-admin | 2,224 ▲47 | 5.67 ▼0.02 | 91.42 ▼6.62 | 42.45 ▼5.39 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 1.96 ▼0.05 | 38.87 ▲0.50 | 37.79 ▲3.91 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 22.97 ▼0.09 | 675.80 ▼6.64 | 53.26 ▼20.10 |
Media Library /wp-admin/upload.php | 1,426 ▲23 | 4.21 ▲0.05 | 103.42 ▲1.21 | 44.97 ▼1.28 |
Instruction /wp-admin/admin.php?page=callphoner_support | 849 | 2.04 | 23.47 | 28.99 |
Settings /wp-admin/admin.php?page=callphoner | 7,066 | 2.57 | 52.13 | 40.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=callphoner
- > Notice in wp-content/plugins/callphoner/callphoner.php+102
Trying to access array offset on value of type bool
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/callphoner/callphoner.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: contact, e-commerce, android, iphone, mobile...
callphoner/callphoner.php Passed 13 tests
The primary PHP file in "CallPhone'r" version 1.1.1 is used by WordPress to initiate all plugin functionality
74 characters long description:
Increase calls of the clients who visit your website from the mobile phone
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin539 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 54 | 12 | 377 |
PO File | 1 | 28 | 28 | 76 |
CSS | 2 | 13 | 0 | 49 |
JavaScript | 1 | 8 | 2 | 37 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 54.00 |
▷ Minimum class complexity | 54.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 4.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There are no PNG files in this plugin