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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.96ms] Passed 4 tests
A check of server-side resources used by RSWPTHEMES ONE CLICK DEMO CONTENT
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.75 ▲3.70 |
Dashboard /wp-admin | 3.36 ▲0.05 | 51.95 ▼1.65 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.62 ▼3.44 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.66 ▼16.48 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.01 ▲1.74 |
Server storage [IO: ▲1.83MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for RSWPTHEMES ONE CLICK DEMO CONTENT
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.03 | 1.71 ▼0.07 | 43.58 ▲0.62 |
Dashboard /wp-admin | 2,195 ▲15 | 5.56 ▼0.08 | 85.45 ▼1.84 | 39.84 ▼4.59 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.08 | 32.82 ▼7.04 | 33.90 ▼5.98 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.12 ▲0.40 | 669.23 ▲3.70 | 59.31 ▼1.43 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▲0.01 | 99.27 ▼8.61 | 44.67 ▼2.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rs-wp-themes-one-click-demo-content/rs-wp-themes-one-click-demo-content.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Donate link: Invalid URI ("rswpthemes.com")
rs-wp-themes-one-click-demo-content/rs-wp-themes-one-click-demo-content.php 92% from 13 tests
The principal PHP file in "RSWPTHEMES ONE CLICK DEMO CONTENT" v. 2.0.9 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin227 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 22 | 215 |
JSON | 12 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
3 compressed PNG files occupy 0.50MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
demoes/rs-pet-blog/screenshot.png | 165.95KB | 166.11KB | 0.00% |
demoes/author-portfolio/screenshot.png | 170.37KB | 169.76KB | 0.36% |
demoes/screenshots/author-personal-blog-pro.png | 175.25KB | 177.28KB | 0.00% |