84% academic-bloggers-toolkit

Code Review | Academic Blogger's Toolkit

WordPress plugin Academic Blogger's Toolkit scored84%from 54 tests.

About plugin

  • Plugin page: academic-bloggers...
  • Plugin version: 5.2.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-5.3
  • WordPress version: 6.3.1
  • First release: Jul 4, 2015
  • Latest release: Oct 25, 2019
  • Number of updates: 112
  • Update frequency: every 14.1 days
  • Top authors: dsifford (100%)

Code review

54 tests

User reviews

28 reviews

Install metrics

600+ active /32,618 total downloads

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)
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1238.91 ▼7.16
Dashboard /wp-admin3.43 ▲0.1347.18 ▼4.35
Posts /wp-admin/edit.php3.54 ▲0.1951.39 ▲0.97
Add New Post /wp-admin/post-new.php6.01 ▲0.1391.40 ▼2.53
Media Library /wp-admin/upload.php3.35 ▲0.1237.35 ▲2.48
Academic Blogger's Toolkit /wp-admin/options-general.php?page=abt-options11.7575.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲6014.48 ▲0.121.66 ▼0.1743.78 ▼1.34
Dashboard /wp-admin2,207 ▲194.85 ▼0.9699.70 ▼5.7340.28 ▼2.14
Posts /wp-admin/edit.php2,096 ▲42.03 ▲0.0138.90 ▼2.2135.18 ▼0.05
Add New Post /wp-admin/post-new.php2,097 ▲56925.63 ▲7.27755.90 ▲113.7337.62 ▼13.49
Media Library /wp-admin/upload.php1,392 ▲44.15 ▼0.2695.93 ▼4.0542.04 ▼0.50
Academic Blogger's Toolkit /wp-admin/options-general.php?page=abt-options1,0538.56155.6455.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
The official readme.txt might help

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:
LanguageFilesBlank linesComment linesLines of code
PHP1389184755
CSS55545
JavaScript709416
JSON1001

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 code0.30
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces6
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions26
▷ Named functions2284.62%
▷ Anonymous functions415.38%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.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