Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/dotclear-importer/dotclear-importer.php+97
Methods with the same name as their class will not be constructors in a future version of PHP; Dotclear_Import has a deprecated constructor
Server metrics [RAM: ▼2.01MB] [CPU: ▼58.45ms] Passed 4 tests
A check of server-side resources used by DotClear Importer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.26 ▼1.48 | 6.17 ▼38.47 |
Dashboard /wp-admin | 2.28 ▼1.29 | 6.54 ▼50.52 |
Posts /wp-admin/edit.php | 2.28 ▼1.40 | 6.84 ▼44.79 |
Add New Post /wp-admin/post-new.php | 2.28 ▼3.87 | 5.74 ▼100.01 |
Media Library /wp-admin/upload.php | 2.28 ▼1.21 | 5.68 ▼34.97 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DotClear Importer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.13 | 1.86 ▼0.27 | 44.03 ▲0.16 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▲0.10 | 87.92 ▼14.81 | 42.08 ▼3.10 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.05 | 37.56 ▲1.56 | 32.99 ▼4.22 |
Add New Post /wp-admin/post-new.php | 1,532 ▲1 | 23.08 ▼0.17 | 680.37 ▼12.87 | 62.11 ▲3.01 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.22 ▼0.06 | 100.21 ▼5.64 | 44.03 ▼1.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/dotclear-importer/dotclear-importer.php+97
Methods with the same name as their class will not be constructors in a future version of PHP; Dotclear_Import has a deprecated constructor
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
Please fix the following attributes:
- Donate link: Invalid url: ""
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== dotclear-importer ===
)
dotclear-importer/dotclear-importer.php Passed 13 tests
This is the main PHP file of "DotClear Importer" version 0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
74 characters long description:
Import categories, users, posts, comments, and links from a DotClear blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected504 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 93 | 94 | 504 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 54.00 |
▷ Minimum class complexity | 54.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin