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.12MB] [CPU: ▼4.84ms] Passed 4 tests
A check of server-side resources used by Republication Tracker Tool
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 35.94 ▼3.94 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.17 ▼4.18 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 48.55 ▲1.35 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 85.82 ▼11.35 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.75 ▲0.13 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_republication_tracker_tool |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Republication Tracker Tool
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.60 ▲0.25 | 1.64 ▼0.65 | 40.02 ▼2.73 |
Dashboard /wp-admin | 2,198 ▲24 | 5.62 ▲0.02 | 84.99 ▼7.79 | 40.09 ▼0.21 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.11 ▲0.08 | 36.65 ▼1.48 | 31.81 ▼3.18 |
Add New Post /wp-admin/post-new.php | 6,250 ▲4,724 | 19.12 ▼4.12 | 891.12 ▲170.24 | 80.46 ▲26.11 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.10 | 98.40 ▼8.92 | 41.92 ▼3.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_republication_tracker_tool
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/republication-tracker-tool/includes/pixel.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/republication-tracker-tool/republication-tracker-tool.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/republication-tracker-tool/includes/class-widget.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/republication-tracker-tool/includes/shareable-content.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: news, publishers
republication-tracker-tool/republication-tracker-tool.php 92% from 13 tests
"Republication Tracker Tool" version 1.4.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin866 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 157 | 362 | 604 |
CSS | 1 | 16 | 5 | 118 |
Markdown | 2 | 80 | 0 | 83 |
JavaScript | 2 | 14 | 8 | 61 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.25 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 33 | |
▷ Static methods | 4 | 12.12% |
▷ Public methods | 32 | 96.97% |
▷ Protected methods | 1 | 3.03% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/creative-commons-sharing.png | 1.53KB | 1.28KB | ▼ 16.01% |