Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.31ms] Passed 4 tests
Analyzing server-side resources used by Skim blog
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 36.79 ▼5.43 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.80 ▼3.12 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 55.48 ▲0.75 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.83 ▼21.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.46 ▲2.70 |
Samuweb Skim Blog /wp-admin/options-general.php?page=samuweb-skim-blog-settings | 3.21 | 33.65 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Skim blog
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲144 | 13.97 ▼0.62 | 5.42 ▲3.69 | 38.86 ▼4.76 |
Dashboard /wp-admin | 2,219 ▲16 | 6.03 ▲1.12 | 103.65 ▼4.90 | 38.86 ▼5.08 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.97 ▼0.05 | 41.30 ▼4.86 | 36.20 ▼1.21 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.16 ▲5.68 | 664.92 ▲33.48 | 66.63 ▲10.99 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.24 ▲0.03 | 98.36 ▼10.17 | 41.74 ▼3.84 |
Samuweb Skim Blog /wp-admin/options-general.php?page=samuweb-skim-blog-settings | 914 | 2.02 | 26.30 | 30.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/samuweb-skim-blog/samuweb-skim-blog.php:90
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/samuweb-skim-blog/samuweb-skim-blog-admin.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: readability, legibility, blog, accessibility, user experience...
samuweb-skim-blog/samuweb-skim-blog.php Passed 13 tests
"Skim blog" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
48 characters long description:
An easy way to let users skim your pages quickly
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
Everything looks great! No dangerous files found in this plugin148 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 41 | 26 | 123 |
JavaScript | 1 | 7 | 2 | 20 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin