Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼11.06ms] Passed 4 tests
Server-side resources used by Real-time TITLE Checker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 42.54 ▼1.17 |
Dashboard /wp-admin | 3.37 ▼0.01 | 49.78 ▼19.34 |
Posts /wp-admin/edit.php | 3.49 ▲0.09 | 51.82 ▼0.48 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.05 | 82.49 ▼23.23 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 38.59 ▲0.73 |
TITLE Checker /wp-admin/options-general.php?page=rt-checker-wbc | 3.27 | 31.44 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
rt_options |
Browser metrics Passed 4 tests
A check of browser resources used by Real-time TITLE Checker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.23 ▲0.12 | 1.93 ▲0.14 | 43.62 ▼1.95 |
Dashboard /wp-admin | 2,196 ▲16 | 5.55 ▼0.10 | 86.46 ▼6.18 | 40.74 ▼3.75 |
Posts /wp-admin/edit.php | 2,101 ▲22 | 1.95 ▼0.07 | 36.43 ▼0.51 | 35.72 ▲2.65 |
Add New Post /wp-admin/post-new.php | 1,541 ▲6 | 18.41 ▼0.07 | 655.78 ▼33.53 | 73.64 ▼5.74 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.21 ▲0.06 | 96.92 ▼11.66 | 41.76 ▼8.58 |
TITLE Checker /wp-admin/options-general.php?page=rt-checker-wbc | 847 | 2.01 | 25.90 | 25.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-time-title-checker/rt-checker.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/real-time-title-checker/views/options.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid url: ""
real-time-title-checker/rt-checker.php 92% from 13 tests
The main PHP script in "Real-time TITLE Checker" version 1.0.2 is automatically included on every request by WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("real-time-title-checker.php" instead of "rt-checker.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
There were no executable files found in this plugin251 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 14 | 19 | 134 |
CSS | 1 | 3 | 0 | 61 |
JavaScript | 1 | 7 | 5 | 56 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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 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