Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼1.47MB] [CPU: ▼58.84ms] Passed 4 tests
Analyzing server-side resources used by WatchCount.com WordPress Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.52 ▼0.94 | 8.50 ▼37.49 |
Dashboard /wp-admin | 2.54 ▼0.76 | 8.15 ▼46.75 |
Posts /wp-admin/edit.php | 2.54 ▼0.82 | 9.04 ▼43.22 |
Add New Post /wp-admin/post-new.php | 2.54 ▼3.35 | 9.09 ▼107.91 |
Media Library /wp-admin/upload.php | 2.54 ▼0.69 | 10.03 ▼24.08 |
eBay Items /wp-admin/options-general.php?page=wccwppi-settings | 2.54 | 8.78 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
wccwppi_option_params |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WatchCount.com WordPress Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.44 | 1.73 ▲0.15 | 42.83 ▲1.46 |
Dashboard /wp-admin | 2,202 ▲25 | 5.82 ▲0.15 | 82.68 ▼8.00 | 38.66 ▼4.94 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.00 ▼0.04 | 37.32 ▼5.07 | 38.18 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,534 ▲7 | 23.07 ▼0.34 | 621.20 ▼51.77 | 49.42 ▼6.71 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.17 ▼0.05 | 98.03 ▼15.61 | 45.87 ▼2.08 |
eBay Items /wp-admin/options-general.php?page=wccwppi-settings | 1,924 | 2.02 | 23.75 | 47.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5453
Function register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead.
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wccwppi-settings
- > User deprecated in wp-includes/functions.php+5453
Function register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead.
- > GET request to /wp-admin/options-general.php?page=wccwppi-settings
- > User deprecated in wp-includes/functions.php+5453
Function register_widget_control is deprecated since version 2.8.0! Use wp_register_widget_control() instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/watchcountcom-wordpress-plugin/wcc-wp-plugin.php:68
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=wccwppi-settings
- > Network (severe)
http://www.watchcount.net/images/WCClogo2.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=wccwppi-settings
- > Network (severe)
http://www.watchcount.net/images/fade-blue.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
watchcountcom-wordpress-plugin/wcc-wp-plugin.php 85% from 13 tests
Analyzing the main PHP file in "WatchCount.com WordPress Plugin" version 1.1.7
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("watchcountcom-wordpress-plugin.php" instead of "wcc-wp-plugin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 1329 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,048 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 243 | 300 | 1,047 |
JavaScript | 1 | 4 | 2 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin