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
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.59ms] Passed 4 tests
Server-side resources used by Republish Old Posts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.44 ▲0.92 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.92 ▼1.87 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 44.86 ▼3.66 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 82.15 ▼8.76 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 34.38 ▼0.08 |
Republish Old Posts /wp-admin/options-general.php?page=republish-old-posts | 3.30 | 33.62 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 14 new options
New WordPress options |
---|
rop_at_top |
db_upgraded |
rop_last_update |
theysaidso_admin_options |
rop_interval_slop |
rop_pos |
rop_age_limit |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Republish Old Posts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.25 ▼0.10 | 1.66 ▲0.05 | 43.85 ▲1.49 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▼0.03 | 95.30 ▲7.67 | 42.13 ▲0.61 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.04 ▲0.05 | 33.99 ▼7.67 | 34.67 ▼4.09 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.03 ▼0.42 | 674.12 ▲10.61 | 54.98 ▲1.29 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.19 ▼0.03 | 96.43 ▼11.70 | 42.68 ▼7.11 |
Republish Old Posts /wp-admin/options-general.php?page=republish-old-posts | 1,156 | 2.13 | 28.18 | 31.69 |
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 13 options in the database
- can_compress_scripts
- rop_omit_cats
- rop_at_top
- rop_interval_slop
- rop_age_limit
- widget_theysaidso_widget
- widget_recent-comments
- rop_show_original_pubdate
- rop_pos
- theysaidso_admin_options
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: republish, old post, republishing, post promoter, old post promoter...
republish-old-posts/republish-old-posts.php 92% from 13 tests
The principal PHP file in "Republish Old Posts" v. 1.27 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 382 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin504 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 57 | 39 | 384 |
CSS | 1 | 23 | 0 | 120 |
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.38 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected