Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼0.73ms] Passed 4 tests
Analyzing server-side resources used by WP Author Report Free
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 45.09 ▲4.98 |
Dashboard /wp-admin | 4.35 ▲1.05 | 54.96 ▼1.69 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 50.03 ▼3.20 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 109.53 ▲0.12 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.11 ▲1.85 |
Author Report /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php | 3.28 | 39.27 |
Upgrade /wp-admin/admin.php?page=wp-author-report-free/wp-author-report-upgrade.php | 4.19 | 40.33 |
Report options /wp-admin/admin.php?page=wp-author-report-free/wp-author-report-options.php | 4.20 | 37.72 |
Server storage [IO: ▲0.17MB] [DB: ▲0.19MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
holyday |
db_upgraded |
can_compress_scripts |
included_stat_user |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Author Report Free
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲154 | 14.65 ▲0.50 | 2.21 ▲0.51 | 49.20 ▲3.18 |
Dashboard /wp-admin | 2,321 ▲140 | 5.76 ▲0.05 | 86.46 ▼24.83 | 83.40 ▲37.74 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.00 ▲0.01 | 35.42 ▼8.03 | 35.21 ▼4.92 |
Add New Post /wp-admin/post-new.php | 1,586 ▲60 | 23.01 ▼0.52 | 664.45 ▲15.96 | 122.42 ▲70.28 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.09 ▼0.00 | 98.93 ▼9.07 | 68.28 ▲24.92 |
Author Report /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php | 1,460 | 2.17 | 32.66 | 43.76 |
Upgrade /wp-admin/admin.php?page=wp-author-report-free/wp-author-report-upgrade.php | 1,054 | 1.94 | 26.10 | 39.30 |
Report options /wp-admin/admin.php?page=wp-author-report-free/wp-author-report-options.php | 1,140 | 2.00 | 27.83 | 31.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.19MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 8 options in the database
- holyday
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- included_stat_user
Smoke tests 25% 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 server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+507
Undefined variable: numberofDay
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+509
Undefined variable: numberofMonthDay
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+513
Undefined variable: runningMonth
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+554
Undefined variable: daytotal
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+556
Undefined variable: userMonthlyCountList
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+556
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+558
Undefined offset: 1
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+568
Undefined variable: monthTotal
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+569
Undefined variable: _monthTotal
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+571
Undefined variable: grandTotal
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Notice in wp-content/plugins/wp-author-report-free/wp-author-report.php+572
Undefined variable: _grandTotal
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
The following issues need your attention
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function author_report_header() in wp-content/plugins/wp-author-report-free/wp-author-report-options.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-author-report-free/wp-author-report.php:18
- > PHP Warning
include_once(ABSPATHWPINC/feed.php): failed to open stream: No such file or directory in wp-content/plugins/wp-author-report-free/wpdev-dashboard-widget.php on line 5
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/feed.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-author-report-free/wpdev-dashboard-widget.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-author-report-free/wp-author-report-upgrade.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-author-report-free/wpdev-dashboard-widget.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function wpdev_dashboard_widget_function() in wp-content/plugins/wp-author-report-free/wp-author-report-sidebar.php:59
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-author-report-free/wpdev-dashboard-widget.php on line 5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-author-report-free/wpdev-dashboard-widget.php on line 5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Network (severe)
chrome-error://chromewebdata/ - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=wp-author-report-free/wp-author-report.php
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://wpdeveloper.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-author-report-free/wp-author-report.php 92% from 13 tests
Analyzing the main PHP file in "WP Author Report Free" version 1.0.7
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-author-report-free.php" instead of "wp-author-report.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected752 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 591 | 50 | 746 |
JavaScript | 1 | 0 | 22 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
3 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/header-banner-free-with-price.png | 95.54KB | 30.01KB | ▼ 68.59% |
css/images/title-banner-free.png | 10.46KB | 4.73KB | ▼ 54.77% |
css/images/white-grad.png | 0.21KB | 0.18KB | ▼ 12.38% |