Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.50ms] Passed 4 tests
This is a short check of server-side resources used by Earn Money From Cuttin.US Services WP Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 46.67 ▲3.59 |
Dashboard /wp-admin | 3.34 ▼0.00 | 45.85 ▼13.03 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 43.64 ▼5.56 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 82.60 ▼17.91 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 31.90 ▼1.51 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Earn Money From Cuttin.US Services WP Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.13 ▼0.19 | 1.62 ▼2.73 | 43.78 ▼1.79 |
Dashboard /wp-admin | 2,224 ▲36 | 5.87 ▲0.91 | 111.25 ▼5.11 | 71.66 ▲24.20 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.01 ▲0.02 | 36.96 ▼0.96 | 32.48 ▲0.16 |
Add New Post /wp-admin/post-new.php | 1,547 ▲28 | 23.17 ▲0.09 | 819.39 ▲227.60 | 56.40 ▼0.06 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.23 ▼0.07 | 100.57 ▼1.07 | 70.07 ▲24.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/earn-money-from-cuttinus-services/cuttin.us.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% 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: These screenshots do not have images: #3 (The Plugin settings page), #2 (Screen get the user ID - Cuttin.US)
- Plugin Name: You should set the name of your plugin on the first line (
=== earn-money-from-cuttinus-services ===
) - Tags: There are too many tags (32 tag instead of maximum 10)
earn-money-from-cuttinus-services/cuttin.us.php 77% from 13 tests
The principal PHP file in "Earn Money From Cuttin.US Services WP Plugin" v. 1.1 Stable... is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("earn-money-from-cuttinus-services.php" instead of "cuttin.us.php")
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "1.1 Stable...")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 852 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin153 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 32 | 153 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 1.04MB with 0.74MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 234.95KB | 62.61KB | ▼ 73.35% |
images/screen_plugin.png | 263.42KB | 78.21KB | ▼ 70.31% |
images/wp_cuttin_us_banner.png | 60.72KB | 18.68KB | ▼ 69.24% |
screenshot-1.png | 263.42KB | 78.21KB | ▼ 70.31% |
images/uid.png | 234.95KB | 62.61KB | ▼ 73.35% |