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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.57ms] Passed 4 tests
Analyzing server-side resources used by Pojo Importer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.47 ▼2.28 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.32 ▼0.57 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.85 ▼0.25 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.63 ▼11.16 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.01 ▲2.96 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pojo Importer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.37 ▼1.30 | 4.06 ▲2.35 | 40.17 ▼4.30 |
Dashboard /wp-admin | 2,212 ▲21 | 4.85 ▼0.07 | 98.92 ▼7.16 | 39.05 ▼5.15 |
Posts /wp-admin/edit.php | 2,094 ▲8 | 2.01 ▲0.03 | 40.19 ▲4.92 | 35.77 ▼0.96 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.31 ▼0.23 | 637.68 ▼55.50 | 63.53 ▲11.66 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▲0.04 | 94.02 ▼13.12 | 42.75 ▼3.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
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 a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: import, importer
pojo-importer/pojo-importer.php Passed 13 tests
The principal PHP file in "Pojo Importer" v. 1.2.6 is loaded by WordPress automatically on each request
109 characters long description:
Import all the demo content (Posts, Pages, Galleries, Slideshows), Widgets, Menus, Customizer and Front Page.
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
Everything looks great! No dangerous files found in this plugin2,310 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 445 | 352 | 2,030 |
PO File | 1 | 83 | 111 | 280 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 46.38 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 4.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 94 | |
▷ Static methods | 1 | 1.06% |
▷ Public methods | 86 | 91.49% |
▷ Protected methods | 6 | 6.38% |
▷ Private methods | 2 | 2.13% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.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
6 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/placeholder-1.png | 18.59KB | 10.52KB | ▼ 43.39% |
assets/images/placeholder-2.png | 9.61KB | 6.82KB | ▼ 29.07% |
assets/images/placeholder-4.png | 9.54KB | 6.84KB | ▼ 28.32% |
assets/images/placeholder.png | 9.54KB | 6.84KB | ▼ 28.32% |
assets/images/placeholder-5.png | 9.62KB | 6.87KB | ▼ 28.57% |