Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼301.99ms] 75% from 4 tests
This is a short check of server-side resources used by Academic Blogger's Toolkit
The following require your attention
- RAM: The total memory usage must be kept under 10MB (currently 11.83MB on /wp-admin/options-general.php?page=abt-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.14 | 53.15 ▲0.40 |
Dashboard /wp-admin | 3.55 ▲0.14 | 32.86 ▲0.29 |
Posts /wp-admin/edit.php | 3.77 ▲0.13 | 35.95 ▼1.04 |
Add New Post /wp-admin/post-new.php | 7.04 ▲0.05 | 98.16 ▼1,207.45 |
Media Library /wp-admin/upload.php | 3.43 ▲0.14 | 25.43 ▲0.25 |
Academic Blogger's Toolkit /wp-admin/options-general.php?page=abt-options | 11.83 | 57.50 |
Server storage [IO: ▲4.43MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 40 new files
Database: no new tables, 1 new option
New WordPress options |
---|
abt_options |
Browser metrics Passed 4 tests
Checking browser requirements for Academic Blogger's Toolkit
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,770 ▲16 | 15.83 ▲0.21 | 6.15 ▲0.04 | 2.31 ▼0.41 |
Dashboard /wp-admin | 2,897 ▲36 | 6.03 ▼0.26 | 120.45 ▼23.37 | 154.90 ▼15.42 |
Posts /wp-admin/edit.php | 2,693 ▲5 | 3.24 ▼0.00 | 62.30 ▼3.38 | 141.44 ▲3.37 |
Add New Post /wp-admin/post-new.php | 2,601 ▲911 | 24.15 ▲3.57 | 516.38 ▲72.24 | 180.47 ▲19.16 |
Media Library /wp-admin/upload.php | 1,697 ▼1 | 5.57 ▲0.04 | 141.47 ▼6.92 | 190.45 ▼0.55 |
Academic Blogger's Toolkit /wp-admin/options-general.php?page=abt-options | 1,413 | 8.82 | 171.64 | 201.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=abt-options
- > Network (severe)
https://assets.codepen.io/assets/embed/ei.js?ver=5.2.2 - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (33 tag instead of maximum 10); only the first 5 tags are used in your directory listing
academic-bloggers-toolkit/academic-bloggers-toolkit.php Passed 13 tests
The main file in "Academic Blogger's Toolkit" v. 5.2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
71 characters long description:
A plugin extending the functionality of WordPress for academic blogging
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin817 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 89 | 184 | 755 |
CSS | 5 | 5 | 5 | 45 |
JavaScript | 7 | 0 | 94 | 16 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 6 | |
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 | 26 | |
▷ Named functions | 22 | 84.62% |
▷ Anonymous functions | 4 | 15.38% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin