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.66MB] [CPU: ▼15.17ms] Passed 4 tests
An overview of server-side resources used by FastPayNow By Fave
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.55 ▼1.13 |
Dashboard /wp-admin | 3.33 ▼0.02 | 53.36 ▼7.19 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 47.60 ▲3.05 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 34.27 ▼52.60 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.23 ▲0.23 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
fastpay_wc_unique_site_id |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FastPayNow By Fave
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲180 | 14.08 ▼0.71 | 7.11 ▲5.46 | 76.10 ▲33.78 |
Dashboard /wp-admin | 2,216 ▲28 | 5.82 ▲0.94 | 97.73 ▼9.50 | 40.18 ▼1.48 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.04 ▲0.06 | 40.13 ▲5.68 | 37.43 ▲4.74 |
Add New Post /wp-admin/post-new.php | 1,546 ▲22 | 23.31 ▲0.08 | 670.73 ▼9.83 | 50.65 ▼0.35 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.20 ▲0.00 | 100.73 ▼5.02 | 46.40 ▼1.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- fastpay_wc_unique_site_id
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: A description for screenshot #1 is missing in wc-fastpaynow-by-fave/assets to your readme.txt
wc-fastpaynow-by-fave/fastpay-wc.php 92% from 13 tests
Analyzing the main PHP file in "FastPayNow By Fave" version 1.0.1
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wc-fastpaynow-by-fave.php" instead of "fastpay-wc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected2,170 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 486 | 350 | 1,920 |
JavaScript | 1 | 21 | 47 | 132 |
SVG | 3 | 0 | 1 | 54 |
Markdown | 1 | 20 | 0 | 39 |
CSS | 2 | 4 | 0 | 25 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 17.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 13 | 16.46% |
▷ Public methods | 56 | 70.89% |
▷ Protected methods | 4 | 5.06% |
▷ Private methods | 19 | 24.05% |
Functions | 19 | |
▷ Named functions | 17 | 89.47% |
▷ Anonymous functions | 2 | 10.53% |
Constants | 9 | |
▷ Global constants | 7 | 77.78% |
▷ Class constants | 2 | 22.22% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin