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: ▼9.42ms] Passed 4 tests
This is a short check of server-side resources used by AlT Multiduplicator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.23 ▼2.49 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.94 ▼17.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.06 ▲4.98 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.44 | 78.64 ▼16.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.25 ▼1.14 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
recovery_mode_email_last_sent |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for AlT Multiduplicator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▲0.14 | 1.77 ▼0.27 | 41.20 ▼2.22 |
Dashboard /wp-admin | 2,195 ▲21 | 5.61 ▲0.10 | 91.88 ▼12.83 | 40.62 ▼1.03 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▼0.01 | 38.96 ▲4.50 | 36.00 ▼1.99 |
Add New Post /wp-admin/post-new.php | 662 ▼864 | 1.71 ▼21.61 | 19.50 ▼682.08 | 5.92 ▼46.90 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▼0.01 | 106.13 ▼0.28 | 45.36 ▲2.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- recovery_mode_email_last_sent
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/alt-multiduplicator/alt-multiduplicator.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: stiky, stiky menu, menu, scroll
alt-multiduplicator/alt-multiduplicator.php Passed 13 tests
The principal PHP file in "AlT Multiduplicator" v. 1.2.0 is loaded by WordPress automatically on each request
84 characters long description:
Permet de dupliquer des posts sur un site multisite en respectant le référencement
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin409 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 104 | 87 | 409 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 12.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 23 | 62.16% |
▷ Public methods | 33 | 89.19% |
▷ Protected methods | 3 | 8.11% |
▷ Private methods | 1 | 2.70% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin