Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼0.83ms] Passed 4 tests
An overview of server-side resources used by KIJO Serpbook API
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.52 ▼1.29 |
Dashboard /wp-admin | 3.42 ▲0.11 | 54.82 ▼4.57 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 48.85 ▼4.87 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.13 | 468.81 ▲365.13 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 39.38 ▲7.43 |
Serpbook API /wp-admin/options-general.php?page=serpbook-api | 3.31 | 35.01 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for KIJO Serpbook API
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲20 | 14.46 ▲0.11 | 2.55 ▲0.39 | 44.20 ▼2.98 |
Dashboard /wp-admin | 2,206 ▲26 | 5.75 ▲0.15 | 99.07 ▲8.12 | 42.20 ▲1.96 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.22 ▲0.23 | 36.45 ▼2.17 | 32.82 ▼5.32 |
Add New Post /wp-admin/post-new.php | 1,628 ▲102 | 29.20 ▲6.01 | 743.90 ▲32.69 | 62.54 ▲9.39 |
Media Library /wp-admin/upload.php | 1,411 ▲14 | 4.34 ▲0.22 | 107.71 ▼9.73 | 42.99 ▼6.87 |
Serpbook API /wp-admin/options-general.php?page=serpbook-api | 888 | 1.78 | 29.61 | 28.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=serpbook-api
- > Network (severe)
wp-admin/[object%20Object] - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #3, #4 in kijo-serpbook-api/assets to your readme.txt
kijo-serpbook-api/serpbook-api.php 62% from 13 tests
The principal PHP file in "KIJO Serpbook API" v. 1.0.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("kijo-serpbook-api.php" instead of "serpbook-api.php")
- Domain Path: The domain path folder does not exist ("/languages/")
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.6" instead of "4.0.0")
- Description: Please keep the plugin description shorter than 140 characters (currently 183 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected724 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 185 | 449 | 561 |
CSS | 1 | 20 | 7 | 112 |
JavaScript | 2 | 17 | 23 | 51 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 14.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 3 | 75.00% |
Methods | 39 | |
▷ Static methods | 3 | 7.69% |
▷ Public methods | 30 | 76.92% |
▷ Protected methods | 4 | 10.26% |
▷ Private methods | 5 | 12.82% |
Functions | 9 | |
▷ Named functions | 9 | 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