Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5747
Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.00ms] Passed 4 tests
An overview of server-side resources used by FreeCallinc.com
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.30 ▼4.76 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.04 ▼2.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 53.30 ▼1.19 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 87.72 ▼12.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.68 ▲0.12 |
freecallinc Settings /wp-admin/options-general.php?page=freecall/freecallinc.php | 3.18 | 32.47 |
Server storage [IO: ▲1.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
freecallinc_settings |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for FreeCallinc.com
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 13.34 ▼0.97 | 1.59 ▼0.41 | 41.98 ▼3.87 |
Dashboard /wp-admin | 2,233 ▲30 | 4.92 ▼0.95 | 104.31 ▼7.96 | 38.23 ▼3.13 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.01 ▼0.05 | 39.65 ▲0.55 | 32.60 ▼4.75 |
Add New Post /wp-admin/post-new.php | 1,562 ▲17 | 23.21 ▲0.33 | 642.69 ▲28.50 | 92.17 ▲28.85 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.19 ▼0.04 | 100.69 ▼1.05 | 48.46 ▲1.46 |
freecallinc Settings /wp-admin/options-general.php?page=freecall/freecallinc.php | 834 | 2.06 | 29.60 | 32.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=freecall/freecallinc.php
- > Warning in wp-content/plugins/freecall/freecallinc.php+122
Illegal string offset 'companyId'
- > GET request to /wp-admin/options-general.php?page=freecall/freecallinc.php
- > Warning in wp-content/plugins/freecall/freecallinc.php+126
Illegal string offset 'siteId'
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/freecall/freecallinc.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Easily track your call history.), #2 (See where people call you from.), #3 (The Wordpress Plugin settings.)
- Tags: Please reduce the number of tags, currently 21 tag instead of maximum 10
freecall/freecallinc.php 77% from 13 tests
Analyzing the main PHP file in "FreeCallinc.com" version 1.0.0.1
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("freecall.php" instead of "freecallinc.php")
- Plugin Name: Keep the plugin name shorter than 70 characters (currently 73 characters long)
- Description: Keep the plugin description shorter than 140 characters (currently 328 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin149 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 8 | 149 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 9 | |
▷ Named functions | 9 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 1.20MB with 0.58MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 10.48KB | 5.01KB | ▼ 52.25% |
favicon.png | 2.96KB | 1.99KB | ▼ 32.92% |
screenshot-1.png | 528.88KB | 237.08KB | ▼ 55.17% |
screenshot-2.png | 686.04KB | 312.13KB | ▼ 54.50% |