Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼3.27ms] 75% from 4 tests
Analyzing server-side resources used by Academic Blogger's Toolkit
The following require your attention
- RAM: Total memory usage must be kept under 10MB (currently 11.75MB on /wp-admin/options-general.php?page=abt-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 38.91 ▼7.16 |
Dashboard /wp-admin | 3.43 ▲0.13 | 47.18 ▼4.35 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 51.39 ▲0.97 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 91.40 ▼2.53 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.35 ▲2.48 |
Academic Blogger's Toolkit /wp-admin/options-general.php?page=abt-options | 11.75 | 75.90 |
Server storage [IO: ▲4.43MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
abt_options |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Academic Blogger's Toolkit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.48 ▲0.12 | 1.66 ▼0.17 | 43.78 ▼1.34 |
Dashboard /wp-admin | 2,207 ▲19 | 4.85 ▼0.96 | 99.70 ▼5.73 | 40.28 ▼2.14 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.03 ▲0.01 | 38.90 ▼2.21 | 35.18 ▼0.05 |
Add New Post /wp-admin/post-new.php | 2,097 ▲569 | 25.63 ▲7.27 | 755.90 ▲113.73 | 37.62 ▼13.49 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.15 ▼0.26 | 95.93 ▼4.05 | 42.04 ▼0.50 |
Academic Blogger's Toolkit /wp-admin/options-general.php?page=abt-options | 1,053 | 8.56 | 155.64 | 55.14 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive 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=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
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
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 33 tag instead of maximum 10
academic-bloggers-toolkit/academic-bloggers-toolkit.php Passed 13 tests
Analyzing the main PHP file in "Academic Blogger's Toolkit" version 5.2.2
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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
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
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected