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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.04ms] Passed 4 tests
An overview of server-side resources used by WP Authenticity Checker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.73 ▼5.42 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.35 ▼4.91 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 52.18 ▲2.28 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.27 ▼4.09 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 41.66 ▲3.47 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Authenticity Checker: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 13.66 ▼0.93 | 1.88 ▼0.35 | 42.49 ▼2.49 |
Dashboard /wp-admin | 2,223 ▲32 | 5.86 ▲0.95 | 99.77 ▼13.10 | 81.73 ▲33.14 |
Posts /wp-admin/edit.php | 2,106 ▲20 | 1.97 ▼0.04 | 36.02 ▲2.65 | 33.91 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,683 ▲169 | 22.41 ▲4.87 | 688.15 ▲22.84 | 64.59 ▲8.69 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.14 ▼0.08 | 121.37 ▲7.78 | 51.71 ▲5.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-authenticity-checker-wac/wordpress_authenticity_checker.php:31
- > 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-authenticity-checker-wac/wordpress_authenticity_checker.php on line 19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: wac, authenticity checker, scanner
wp-authenticity-checker-wac/wordpress_authenticity_checker.php 85% from 13 tests
Analyzing the main PHP file in "WP Authenticity Checker" version 1.0
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-authenticity-checker-wac.php" instead of "wordpress_authenticity_checker.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 227 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin263 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 29 | 194 |
CSS | 1 | 15 | 7 | 69 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 4.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin